Struct typed_html::elements::button
source · pub struct button<T>where
T: OutputType,{
pub attrs: Attrs_button,
pub data_attributes: Vec<(&'static str, String)>,
pub events: Events<T>,
pub children: Vec<Box<dyn PhrasingContent<T>>>,
/* private fields */
}
Fields
attrs: Attrs_button
data_attributes: Vec<(&'static str, String)>
events: Events<T>
children: Vec<Box<dyn PhrasingContent<T>>>
Implementations
Trait Implementations
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
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more