pub struct Name<'a> {
pub qname: &'a str,
pub prefix: &'a str,
pub local: &'a str,
pub namespace: &'a str,
}Expand description
An element’s or attribute’s name: as written, and resolved.
Fields§
§qname: &'a strThe name as written, prefix and all: atom:link.
prefix: &'a strThe prefix, "" for none.
local: &'a strThe local part: link.
namespace: &'a strThe namespace URI the prefix was bound to, "" for none.
Trait Implementations§
impl<'a> Copy for Name<'a>
impl<'a> Eq for Name<'a>
impl<'a> StructuralPartialEq for Name<'a>
Auto Trait Implementations§
impl<'a> Forget for Name<'a>
impl<'a> Freeze for Name<'a>
impl<'a> Move for Name<'a>
impl<'a> RefUnwindSafe for Name<'a>
impl<'a> Send for Name<'a>
impl<'a> Sync for Name<'a>
impl<'a> Unpin for Name<'a>
impl<'a> UnsafeUnpin for Name<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Name<'a>where
&'a str: UnwindSafe,
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