pub enum Tok {
Raw(Raw),
Newline,
Indent,
Dedent,
Eof,
}Expand description
A token after layout: the raw tokens plus the three synthetic ones.
Variants§
Trait Implementations§
impl StructuralPartialEq for Tok
Auto Trait Implementations§
impl Freeze for Tok
impl RefUnwindSafe for Tok
impl Send for Tok
impl Sync for Tok
impl Unpin for Tok
impl UnwindSafe for Tok
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