pub enum Token<'link> {
Integer(i64),
Real(f64),
Symbol(LinkStr<'link>),
String(LinkStr<'link>),
Function {
length: usize,
},
}Expand description
Basic unit of expression data read from a Link.
Link::get_token() is used to read the next available token from a Link.
Variants
Integer(i64)
Real(f64)
Symbol(LinkStr<'link>)
String(LinkStr<'link>)
Function
Fields
length: usizeA function expression with length elements.
The next expression is the head of the function, followed by length number of
expression elements.
Trait Implementations
Auto Trait Implementations
impl<'link> RefUnwindSafe for Token<'link>
impl<'link> !Send for Token<'link>
impl<'link> !Sync for Token<'link>
impl<'link> Unpin for Token<'link>
impl<'link> UnwindSafe for Token<'link>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more