pub struct Identifier<'a> {
pub disambiguator: u64,
pub name: Cow<'a, str>,
}Fields§
§disambiguator: u64§name: Cow<'a, str>Implementations§
Trait Implementations§
Source§impl<'a> Clone for Identifier<'a>
impl<'a> Clone for Identifier<'a>
Source§fn clone(&self) -> Identifier<'a>
fn clone(&self) -> Identifier<'a>
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<'a> Debug for Identifier<'a>
impl<'a> Debug for Identifier<'a>
Source§impl Display for Identifier<'_>
impl Display for Identifier<'_>
Source§impl<'a> Hash for Identifier<'a>
impl<'a> Hash for Identifier<'a>
Source§impl<'a> Ord for Identifier<'a>
impl<'a> Ord for Identifier<'a>
Source§fn cmp(&self, other: &Identifier<'a>) -> Ordering
fn cmp(&self, other: &Identifier<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for Identifier<'a>
impl<'a> PartialEq for Identifier<'a>
Source§impl<'a> PartialOrd for Identifier<'a>
impl<'a> PartialOrd for Identifier<'a>
impl<'a> Eq for Identifier<'a>
impl<'a> StructuralPartialEq for Identifier<'a>
Auto Trait Implementations§
impl<'a> Freeze for Identifier<'a>
impl<'a> RefUnwindSafe for Identifier<'a>
impl<'a> Send for Identifier<'a>
impl<'a> Sync for Identifier<'a>
impl<'a> Unpin for Identifier<'a>
impl<'a> UnwindSafe for Identifier<'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