pub struct AttributeIdentity { /* private fields */ }Expand description
Identity of one XPath attribute node and its owning element.
Implementations§
Source§impl AttributeIdentity
impl AttributeIdentity
Sourcepub const fn owner(&self) -> NodeIdentity
pub const fn owner(&self) -> NodeIdentity
Return the element that owns this XPath attribute node.
Sourcepub fn local_name(&self) -> &str
pub fn local_name(&self) -> &str
Return the attribute local name.
Trait Implementations§
Source§impl Clone for AttributeIdentity
impl Clone for AttributeIdentity
Source§fn clone(&self) -> AttributeIdentity
fn clone(&self) -> AttributeIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeIdentity
impl Debug for AttributeIdentity
impl Eq for AttributeIdentity
Source§impl Hash for AttributeIdentity
impl Hash for AttributeIdentity
Source§impl PartialEq for AttributeIdentity
impl PartialEq for AttributeIdentity
impl StructuralPartialEq for AttributeIdentity
Auto Trait Implementations§
impl Freeze for AttributeIdentity
impl RefUnwindSafe for AttributeIdentity
impl Send for AttributeIdentity
impl Sync for AttributeIdentity
impl Unpin for AttributeIdentity
impl UnsafeUnpin for AttributeIdentity
impl UnwindSafe for AttributeIdentity
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more