[][src]Struct moxie_dom::elements::interactive::MenuBuilder

#[must_use = "needs to be built"]pub struct MenuBuilder { /* fields omitted */ }

The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.

A type for initializing the element's attributes before calling build.


impl MenuBuilder[src]

pub fn build(self) -> Menu[src]

Initialize the element with all of the attributes so far.

Trait Implementations

impl Element for MenuBuilder[src]

impl<E> EventTarget<E> for MenuBuilder where
    E: GlobalEvent

impl GlobalEventHandler for MenuBuilder[src]

impl HtmlElement for MenuBuilder[src]

impl Node for MenuBuilder[src]

impl<Child> Parent<Child> for MenuBuilder where
    Child: FlowContent

Auto Trait Implementations

impl !RefUnwindSafe for MenuBuilder

impl !Send for MenuBuilder

impl !Sync for MenuBuilder

impl Unpin for MenuBuilder

impl !UnwindSafe for MenuBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<N> Child for N where
    N: Node

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.