pub struct Ident<'p> {
pub value: InternedStr<'p>,
pub span: SpanId,
}Fields§
§value: InternedStr<'p>§span: SpanIdTrait Implementations§
impl<'p> Copy for Ident<'p>
impl<'p> Eq for Ident<'p>
impl<'p> StructuralPartialEq for Ident<'p>
Auto Trait Implementations§
impl<'p> Freeze for Ident<'p>
impl<'p> RefUnwindSafe for Ident<'p>
impl<'p> Send for Ident<'p>
impl<'p> Sync for Ident<'p>
impl<'p> Unpin for Ident<'p>
impl<'p> UnwindSafe for Ident<'p>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.