Struct moxie_dom::elements::text_content::DivBuilder[][src]

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

The HTML Content Division element (<div>) is the generic container for flow content. It has no effect on the content or layout until styled using CSS.

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

Trait Implementations

impl ElementBuilder for DivBuilder[src]

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

impl GlobalEventHandler for DivBuilder[src]

impl HtmlElementBuilder for DivBuilder[src]

impl NodeBuilder for DivBuilder[src]

type Output = Div

The type of the DOM node

fn build(self) -> Div[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for DivBuilder[src]

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

Auto Trait Implementations

impl !RefUnwindSafe for DivBuilder

impl !Send for DivBuilder

impl !Sync for DivBuilder

impl Unpin for DivBuilder

impl !UnwindSafe for DivBuilder

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.