Struct typed_html::elements::img
source · pub struct img<T>where
T: OutputType,{
pub attrs: Attrs_img,
pub data_attributes: Vec<(&'static str, String)>,
pub events: Events<T>,
/* private fields */
}
Fields
attrs: Attrs_img
data_attributes: Vec<(&'static str, String)>
events: Events<T>
Implementations
sourceimpl<T> img<T>where
T: OutputType,
impl<T> img<T>where
T: OutputType,
Trait Implementations
sourceimpl<T> Display for img<T>where
T: OutputType,
impl<T> Display for img<T>where
T: OutputType,
sourceimpl<T> Element<T> for img<T>where
T: OutputType,
impl<T> Element<T> for img<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<img<T>>where
T: OutputType,
impl<T> IntoIterator for Box<img<T>>where
T: OutputType,
sourceimpl<T> IntoIterator for img<T>where
T: OutputType,
impl<T> IntoIterator for img<T>where
T: OutputType,
sourceimpl<T> Node<T> for img<T>where
T: OutputType,
impl<T> Node<T> for img<T>where
T: OutputType,
impl<T> EmbeddedContent<T> for img<T>where
T: OutputType,
impl<T> FlowContent<T> for img<T>where
T: OutputType,
impl<T> PhrasingContent<T> for img<T>where
T: OutputType,
Auto Trait Implementations
impl<T> !RefUnwindSafe for img<T>
impl<T> !Send for img<T>
impl<T> !Sync for img<T>
impl<T> Unpin for img<T>where
T: Unpin,
impl<T> !UnwindSafe for img<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