#[repr(C)]pub enum LexStateAction {
Set(i32),
Keep,
}
Expand description
Enum of what token rewriter should do with the state of the lexer
Variants§
Trait Implementations§
source§impl Clone for LexStateAction
impl Clone for LexStateAction
source§fn clone(&self) -> LexStateAction
fn clone(&self) -> LexStateAction
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 LexStateAction
impl Debug for LexStateAction
source§impl PartialEq<LexStateAction> for LexStateAction
impl PartialEq<LexStateAction> for LexStateAction
source§fn eq(&self, other: &LexStateAction) -> bool
fn eq(&self, other: &LexStateAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LexStateAction
impl StructuralEq for LexStateAction
impl StructuralPartialEq for LexStateAction
Auto Trait Implementations§
impl RefUnwindSafe for LexStateAction
impl Send for LexStateAction
impl Sync for LexStateAction
impl Unpin for LexStateAction
impl UnwindSafe for LexStateAction
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