Struct sxd_document::dom::Attribute
[−]
[src]
pub struct Attribute<'d> { /* fields omitted */ }
Methods
impl<'d> Attribute<'d>[src]
impl<'d> Attribute<'d>[src]
fn name(&self) -> QName<'d>[src]
fn value(&self) -> &'d str[src]
fn preferred_prefix(&self) -> Option<&'d str>[src]
fn set_preferred_prefix(&self, prefix: Option<&str>)[src]
fn parent(&self) -> Option<Element<'d>>[src]
Trait Implementations
impl<'d> Copy for Attribute<'d>[src]
impl<'d> Clone for Attribute<'d>[src]
fn clone(&self) -> Attribute<'d>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'d> PartialEq for Attribute<'d>[src]
fn eq(&self, other: &Attribute<'d>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl<'d> Eq for Attribute<'d>[src]
impl<'d> Hash for Attribute<'d>[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher, [src]
H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more