[][src]Struct typed_html::elements::head

pub struct head<T> where
    T: OutputType + Send
{ pub attrs: Attrs_head, pub data_attributes: Vec<(&'static str, String)>, pub events: T::Events, pub child_title: Box<title<T>>, pub children: Vec<Box<dyn MetadataContent<T>>>, }

Fields

attrs: Attrs_headdata_attributes: Vec<(&'static str, String)>events: T::Eventschild_title: Box<title<T>>children: Vec<Box<dyn MetadataContent<T>>>

Methods

impl<T> head<T> where
    T: OutputType + Send
[src]

pub fn new(child_title: Box<title<T>>) -> Self[src]

Trait Implementations

impl<T> Display for head<T> where
    T: OutputType + Send
[src]

impl<T> Element<T> for head<T> where
    T: OutputType + Send
[src]

impl<T> IntoIterator for head<T> where
    T: OutputType + Send
[src]

type Item = head<T>

The type of the elements being iterated over.

type IntoIter = IntoIter<head<T>>

Which kind of iterator are we turning this into?

impl<T> Node<T> for head<T> where
    T: OutputType + Send
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for head<T>

impl<T> Send for head<T> where
    <T as OutputType>::Events: Send

impl<T> !Sync for head<T>

impl<T> Unpin for head<T> where
    <T as OutputType>::Events: Unpin

impl<T> !UnwindSafe for head<T>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToString for T where
    T: Display + ?Sized
[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.

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.