pub struct Name<'r, 'a> {
pub prefix: &'a str,
pub local: &'a str,
pub namespace: Option<&'r str>,
}Expand description
A name with its namespace.
Fields§
§prefix: &'a strThe prefix as written, "" for none.
local: &'a strThe local part.
namespace: Option<&'r str>The namespace name, None for no namespace.
Trait Implementations§
impl<'r, 'a> Copy for Name<'r, 'a>
impl<'r, 'a> Eq for Name<'r, 'a>
impl<'r, 'a> StructuralPartialEq for Name<'r, 'a>
Auto Trait Implementations§
impl<'r, 'a> Forget for Name<'r, 'a>
impl<'r, 'a> Freeze for Name<'r, 'a>
impl<'r, 'a> RefUnwindSafe for Name<'r, 'a>
impl<'r, 'a> Send for Name<'r, 'a>
impl<'r, 'a> Sync for Name<'r, 'a>
impl<'r, 'a> Unpin for Name<'r, 'a>
impl<'r, 'a> UnsafeUnpin for Name<'r, 'a>
impl<'r, 'a> UnwindSafe for Name<'r, 'a>
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