[][src]Struct moxie_dom::elements::sectioning::MainBuilder

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

The HTML <main> element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.

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

Implementations

impl MainBuilder[src]

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

Initialize the element with all of the attributes so far.

Trait Implementations

impl Element for MainBuilder[src]

impl<E> EventTarget<E> for MainBuilder where
    E: GlobalEvent
[src]

impl GlobalEventHandler for MainBuilder[src]

impl HtmlElement for MainBuilder[src]

impl Node for MainBuilder[src]

impl<Child> Parent<Child> for MainBuilder where
    Child: FlowContent
[src]

Auto Trait Implementations

impl !RefUnwindSafe for MainBuilder

impl !Send for MainBuilder

impl !Sync for MainBuilder

impl Unpin for MainBuilder

impl !UnwindSafe for MainBuilder

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.