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

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

The HTML Details Element (<details>) creates a disclosure widget in which information is visible only when the widget is toggled into an “open” state.

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


impl DetailsBuilder[src]

pub fn open(self, to_set: bool) -> Self[src]

Indicates whether the details will be shown on page load.

Trait Implementations

impl ElementBuilder for DetailsBuilder[src]

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

impl GlobalEventHandler for DetailsBuilder[src]

impl HtmlElementBuilder for DetailsBuilder[src]

impl NodeBuilder for DetailsBuilder[src]

type Output = Details

The type of the DOM node

fn build(self) -> Details[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for DetailsBuilder[src]

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

impl Parent<Summary> for DetailsBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for DetailsBuilder

impl !Send for DetailsBuilder

impl !Sync for DetailsBuilder

impl Unpin for DetailsBuilder

impl !UnwindSafe for DetailsBuilder

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: NodeWrapper

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.