Struct typed_html::elements::html
source · pub struct html<T>where
T: OutputType,{
pub attrs: Attrs_html,
pub data_attributes: Vec<(&'static str, String)>,
pub events: Events<T>,
pub child_head: Box<head<T>>,
pub child_body: Box<body<T>>,
/* private fields */
}
Fields
attrs: Attrs_html
data_attributes: Vec<(&'static str, String)>
events: Events<T>
child_head: Box<head<T>>
child_body: Box<body<T>>
Implementations
Trait Implementations
sourceimpl<T> Display for html<T>where
T: OutputType,
impl<T> Display for html<T>where
T: OutputType,
sourceimpl<T> Element<T> for html<T>where
T: OutputType,
impl<T> Element<T> for html<T>where
T: OutputType,
sourcefn attribute_names() -> &'static [&'static str]
fn attribute_names() -> &'static [&'static str]
Get a list of the attribute names for this element. Read more
sourcefn required_children() -> &'static [&'static str]
fn required_children() -> &'static [&'static str]
Get a list of the element names of required children for this element. Read more
sourceimpl<T> IntoIterator for Box<html<T>>where
T: OutputType,
impl<T> IntoIterator for Box<html<T>>where
T: OutputType,
sourceimpl<T> IntoIterator for html<T>where
T: OutputType,
impl<T> IntoIterator for html<T>where
T: OutputType,
Auto Trait Implementations
impl<T> !RefUnwindSafe for html<T>
impl<T> !Send for html<T>
impl<T> !Sync for html<T>
impl<T> Unpin for html<T>where
T: Unpin,
impl<T> !UnwindSafe for html<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more