Enum nu_parser::TokenContents
source · [−]pub enum TokenContents {
Item,
Comment,
Pipe,
Semicolon,
Eol,
}
Variants
Item
Comment
Pipe
Semicolon
Eol
Trait Implementations
sourceimpl Debug for TokenContents
impl Debug for TokenContents
sourceimpl PartialEq<TokenContents> for TokenContents
impl PartialEq<TokenContents> for TokenContents
impl Eq for TokenContents
impl StructuralEq for TokenContents
impl StructuralPartialEq for TokenContents
Auto Trait Implementations
impl RefUnwindSafe for TokenContents
impl Send for TokenContents
impl Sync for TokenContents
impl Unpin for TokenContents
impl UnwindSafe for TokenContents
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.