pub struct AttributeHandle(/* private fields */);Implementations§
Source§impl AttributeHandle
impl AttributeHandle
pub fn new( namespace_uri: Option<String>, name: impl Into<String>, value: impl Into<String>, owner_element: Option<ElementHandle>, ) -> Self
pub fn namespace_uri(&self) -> Option<String>
pub fn name(&self) -> String
pub fn value(&self) -> String
pub fn set_value(&self, value: impl Into<String>)
pub fn owner_element(&self) -> Option<ElementHandle>
pub fn set_owner_element(&self, owner_element: Option<ElementHandle>)
pub fn local_name(&self) -> String
pub fn prefix(&self) -> Option<String>
Trait Implementations§
Source§impl Clone for AttributeHandle
impl Clone for AttributeHandle
Source§fn clone(&self) -> AttributeHandle
fn clone(&self) -> AttributeHandle
Returns a duplicate of the value. Read more
1.0.0 · 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 AttributeHandle
impl Debug for AttributeHandle
Source§impl PartialEq for AttributeHandle
impl PartialEq for AttributeHandle
impl StructuralPartialEq for AttributeHandle
Auto Trait Implementations§
impl Freeze for AttributeHandle
impl !RefUnwindSafe for AttributeHandle
impl !Send for AttributeHandle
impl !Sync for AttributeHandle
impl Unpin for AttributeHandle
impl UnsafeUnpin for AttributeHandle
impl !UnwindSafe for AttributeHandle
Blanket Implementations§
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