Enum ra_ap_parser::StrStep
source · [−]pub enum StrStep<'a> {
Token {
kind: SyntaxKind,
text: &'a str,
},
Enter {
kind: SyntaxKind,
},
Exit,
Error {
msg: &'a str,
pos: usize,
},
}
Variants
Token
Enter
Fields
kind: SyntaxKind
Exit
Error
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for StrStep<'a>
impl<'a> Send for StrStep<'a>
impl<'a> Sync for StrStep<'a>
impl<'a> Unpin for StrStep<'a>
impl<'a> UnwindSafe for StrStep<'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