Enum chem_parse::token_types::Tokens
source · [−]Expand description
A token which may have attached data
Variants
Element(String)
Elements e.g. Fe. The data is “Fe”
Number(u16)
Numbers e.g. 13. The data is 13u16
Paren(ParenType)
Parenthesis e.g. ) The data is ParenType::CLOSE
Plus
Plus sign +
Yields
Yields sign ->
Trait Implementations
impl StructuralPartialEq for Tokens
Auto Trait Implementations
impl RefUnwindSafe for Tokens
impl Send for Tokens
impl Sync for Tokens
impl Unpin for Tokens
impl UnwindSafe for Tokens
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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