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

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

The HTML <nav> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.

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


impl NavBuilder[src]

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

Initialize the element with all of the attributes so far.

Trait Implementations

impl ElementBuilder for NavBuilder[src]

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

impl GlobalEventHandler for NavBuilder[src]

impl HtmlElementBuilder for NavBuilder[src]

impl NodeWrapper for NavBuilder[src]

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

Auto Trait Implementations

impl !RefUnwindSafe for NavBuilder[src]

impl !Send for NavBuilder[src]

impl !Sync for NavBuilder[src]

impl Unpin for NavBuilder[src]

impl !UnwindSafe for NavBuilder[src]

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.