Struct dioxus_core::Attribute [−][src]
pub struct Attribute<'a> {
pub name: &'static str,
pub value: &'a str,
pub is_static: bool,
pub is_volatile: bool,
pub namespace: Option<&'static str>,
}Expand description
An attribute on a DOM node, such as id="my-thing" or
href="https://example.com".
Fields
name: &'static strvalue: &'a stris_static: boolis_volatile: boolnamespace: Option<&'static str>Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Attribute<'a>
impl<'a> UnwindSafe for Attribute<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
