[][src]Struct moxie_dom::elements::text_semantics::SpanBuilder

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

The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang.

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

Implementations

impl SpanBuilder[src]

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

Initialize the element with all of the attributes so far.

Trait Implementations

impl ElementBuilder for SpanBuilder[src]

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

impl GlobalEventHandler for SpanBuilder[src]

impl HtmlElementBuilder for SpanBuilder[src]

impl NodeWrapper for SpanBuilder[src]

impl<Child> Parent<Child> for SpanBuilder where
    Child: PhrasingContent
[src]

Auto Trait Implementations

impl !RefUnwindSafe for SpanBuilder[src]

impl !Send for SpanBuilder[src]

impl !Sync for SpanBuilder[src]

impl Unpin for SpanBuilder[src]

impl !UnwindSafe for SpanBuilder[src]

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: NodeWrapper
[src]

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>, 
[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.