Struct moxie_dom::elements::Template[][src]

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

The HTML Content Template (<template>) element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript.

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

Trait Implementations

impl Element for Template[src]

impl FlowContent for Template[src]

impl MetadataContent for Template[src]

impl NodeBuilder for Template[src]

type Output = Self

The type of the DOM node

fn build(self) -> Self[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for Template[src]

impl Parent<Template> for PictureBuilder[src]

impl Parent<Template> for DlBuilder[src]

impl Parent<Template> for OlBuilder[src]

impl Parent<Template> for UlBuilder[src]

impl PhrasingContent for Template[src]

Auto Trait Implementations

impl !RefUnwindSafe for Template

impl !Send for Template

impl !Sync for Template

impl Unpin for Template

impl !UnwindSafe for Template

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.