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 str
value: &'a str
is_static: bool
is_volatile: bool
namespace: 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