Enum ra_ap_parser::Step
source · [−]pub enum Step<'a> {
Token {
kind: SyntaxKind,
n_input_tokens: u8,
},
Enter {
kind: SyntaxKind,
},
Exit,
Error {
msg: &'a str,
},
}
Variants
Token
Enter
Fields
kind: SyntaxKind
Exit
Error
Fields
msg: &'a str
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Step<'a>
impl<'a> Send for Step<'a>
impl<'a> Sync for Step<'a>
impl<'a> Unpin for Step<'a>
impl<'a> UnwindSafe for Step<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more