pub struct Token<S>(pub S, pub Tok<S>);Expand description
Token (tree) generic over string type S.
If the contained Tok is of the shape:
Tok::Block(...), thenSmust start with'(','[', or'{'.Tok::Var, thenSmust start with'$'.
Tuple Fields§
§0: S§1: Tok<S>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Token<S>where
S: Freeze,
impl<S> RefUnwindSafe for Token<S>where
S: RefUnwindSafe,
impl<S> Send for Token<S>where
S: Send,
impl<S> Sync for Token<S>where
S: Sync,
impl<S> Unpin for Token<S>where
S: Unpin,
impl<S> UnwindSafe for Token<S>where
S: 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