Struct parsit::parser::EmptyToken
source · pub struct EmptyToken {}
Expand description
The token is used as a stub for the parsing operations when we need just a notion that the token is parsed correctly but we don’t need to process any values.
Trait Implementations§
source§impl Clone for EmptyToken
impl Clone for EmptyToken
source§fn clone(&self) -> EmptyToken
fn clone(&self) -> EmptyToken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmptyToken
impl Debug for EmptyToken
source§impl PartialEq<EmptyToken> for EmptyToken
impl PartialEq<EmptyToken> for EmptyToken
source§fn eq(&self, other: &EmptyToken) -> bool
fn eq(&self, other: &EmptyToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EmptyToken
impl StructuralPartialEq for EmptyToken
Auto Trait Implementations§
impl RefUnwindSafe for EmptyToken
impl Send for EmptyToken
impl Sync for EmptyToken
impl Unpin for EmptyToken
impl UnwindSafe for EmptyToken
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