Struct Ident
pub struct Ident<Span, Symbol> { pub sym: Symbol, pub is_raw: bool, pub span: Span }
Fields
sym: Symbolis_raw: boolspan: Span
Trait Implementations
impl<'a, S, Span: for<'s> Decode<'a, 's, S>, Symbol: for<'s> Decode<'a, 's, S>> Decode<'a, '_, S> for Ident<Span, Symbol>
fn decode(r: &mut &'a [u8], s: &mut S) -> Self
impl<S, Span: Encode<S>, Symbol: Encode<S>> Encode<S> for Ident<Span, Symbol>
fn encode(self, w: &mut Buffer, s: &mut S)
impl<Span: Clone, Symbol: Clone> Clone for Ident<Span, Symbol>
fn clone(&self) -> Ident<Span, Symbol>
impl<Span: Copy, Symbol: Copy> Copy for Ident<Span, Symbol>
impl<Span: Eq, Symbol: Eq> Eq for Ident<Span, Symbol>
fn assert_fields_are_eq(&self)
impl<Span: Mark, Symbol: Mark> Mark for Ident<Span, Symbol>
type Unmarked = Ident<<Span as Mark>::Unmarked, <Symbol as Mark>::Unmarked>;fn mark(unmarked: Self::Unmarked) -> Selffn unmark(self) -> Self::Unmarked
impl<Span: PartialEq, Symbol: PartialEq> PartialEq for Ident<Span, Symbol>
fn eq(&self, other: &Ident<Span, Symbol>) -> bool
impl<Span: PartialEq, Symbol: PartialEq> StructuralPartialEq for Ident<Span, Symbol>
Auto Trait Implementations
impl<Span, Symbol> Freeze for Ident<Span, Symbol>
where
Symbol: Freeze,
Span: Freeze,
impl<Span, Symbol> RefUnwindSafe for Ident<Span, Symbol>
where
Symbol: RefUnwindSafe,
Span: RefUnwindSafe,
impl<Span, Symbol> Send for Ident<Span, Symbol>
where
Symbol: Send,
Span: Send,
impl<Span, Symbol> Sync for Ident<Span, Symbol>
where
Symbol: Sync,
Span: Sync,
impl<Span, Symbol> Unpin for Ident<Span, Symbol>
where
Symbol: Unpin,
Span: Unpin,
impl<Span, Symbol> UnsafeUnpin for Ident<Span, Symbol>
where
Symbol: UnsafeUnpin,
Span: UnsafeUnpin,
impl<Span, Symbol> UnwindSafe for Ident<Span, Symbol>
where
Symbol: UnwindSafe,
Span: UnwindSafe,
Blanket Implementations
impl<T> Any for Ident<Span, Symbol>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Ident<Span, Symbol>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Ident<Span, Symbol>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Ident<Span, Symbol>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Ident<Span, Symbol>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Ident<Span, Symbol>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Ident<Span, Symbol>
impl<T> ToOwned for Ident<Span, Symbol>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Ident<Span, Symbol>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Ident<Span, Symbol>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Ident<Span, Symbol>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>