pub struct DebugTokenInfo {
pub tin: Tin,
pub name: String,
pub fixed: Option<String>,
}Expand description
One row of the token table: the token’s tin (token identification number), its name, and — for fixed (literal) tokens — the source text it matches.
Fields§
§tin: TinToken identification number.
name: StringToken name (e.g. #NR).
fixed: Option<String>Fixed source text, when a literal token.
Trait Implementations§
Source§impl Clone for DebugTokenInfo
impl Clone for DebugTokenInfo
Source§impl Debug for DebugTokenInfo
impl Debug for DebugTokenInfo
impl Eq for DebugTokenInfo
Source§impl PartialEq for DebugTokenInfo
impl PartialEq for DebugTokenInfo
Source§impl Serialize for DebugTokenInfo
impl Serialize for DebugTokenInfo
impl StructuralPartialEq for DebugTokenInfo
Auto Trait Implementations§
impl Forget for DebugTokenInfo
impl Freeze for DebugTokenInfo
impl Move for DebugTokenInfo
impl RefUnwindSafe for DebugTokenInfo
impl Send for DebugTokenInfowhere
RawVecInner: Send,
impl Sync for DebugTokenInfowhere
RawVecInner: Sync,
impl Unpin for DebugTokenInfo
impl UnsafeUnpin for DebugTokenInfo
impl UnwindSafe for DebugTokenInfowhere
RawVecInner: 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
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§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.