Struct typed_html::dom::VElement

source ·
pub struct VElement<'a, T: OutputType + 'a> {
    pub name: &'static str,
    pub attributes: Vec<(&'static str, String)>,
    pub events: &'a mut Events<T>,
    pub children: Vec<VNode<'a, T>>,
}
Expand description

An untyped representation of an HTML element.

Fields

name: &'static strattributes: Vec<(&'static str, String)>events: &'a mut Events<T>children: Vec<VNode<'a, T>>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.