[][src]Struct moxie_dom::elements::forms::Option

#[must_use = "needs to be bound to a parent"]pub struct Option { /* fields omitted */ }

The HTML <option> element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.

The initialized element, ready to be bound to a parent.

Trait Implementations

impl Node for Option[src]

impl Parent<Option> for DatalistBuilder[src]

impl Parent<Option> for OptgroupBuilder[src]

impl Parent<Option> for SelectBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for Option

impl !Send for Option

impl !Sync for Option

impl Unpin for Option

impl !UnwindSafe for Option

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<N> Child for N where
    N: Node
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.