Struct kuchiki::Attribute
[−]
[src]
pub struct Attribute { pub prefix: Option<Prefix>, pub value: String, }
The non-identifying parts of an attribute
Fields
prefix: Option<Prefix>
The namespace prefix, if any
value: String
The attribute value
Trait Implementations
impl Debug for Attribute
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Attribute
[src]
fn eq(&self, __arg_0: &Attribute) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Attribute) -> bool
[src]
This method tests for !=
.