pub enum ParsingContext {
TopLevel,
Statement,
Block,
Function,
Class,
Module,
Expression,
Declaration,
}Variants§
Trait Implementations§
Source§impl Clone for ParsingContext
impl Clone for ParsingContext
Source§fn clone(&self) -> ParsingContext
fn clone(&self) -> ParsingContext
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 ParsingContext
impl Debug for ParsingContext
Source§impl PartialEq for ParsingContext
impl PartialEq for ParsingContext
impl StructuralPartialEq for ParsingContext
Auto Trait Implementations§
impl Freeze for ParsingContext
impl RefUnwindSafe for ParsingContext
impl Send for ParsingContext
impl Sync for ParsingContext
impl Unpin for ParsingContext
impl UnwindSafe for ParsingContext
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