Struct html_builder::Void[][src]

pub struct Void<'a> { /* fields omitted */ }

A self-closing element.

Void elements can’t have any contents (since there’s no end tag, no content can be put between the start tag and the end tag).

Implementations

impl<'a> Void<'a>[src]

pub fn attr(self, attr: &str) -> Void<'a>[src]

Trait Implementations

impl<'a> Clone for Void<'a>[src]

impl<'a> Write for Void<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Void<'a>

impl<'a> Send for Void<'a>

impl<'a> Sync for Void<'a>

impl<'a> Unpin for Void<'a>

impl<'a> UnwindSafe for Void<'a>

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.