pub struct TokLevel {
pub list: TokenList,
pub loc: usize,
pub kind: TokKind,
pub param_start: usize,
pub name: CsId,
}Expand description
A token-list input level.
Fields§
§list: TokenListThe tokens.
loc: usizeIndex of the next token.
kind: TokKindThe kind of list.
param_start: usizeStart of this macro’s parameters in the parameter stack.
name: CsIdFor macros: the control sequence being expanded.
Trait Implementations§
Auto Trait Implementations§
impl !Send for TokLevel
impl !Sync for TokLevel
impl Freeze for TokLevel
impl RefUnwindSafe for TokLevel
impl Unpin for TokLevel
impl UnsafeUnpin for TokLevel
impl UnwindSafe for TokLevel
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