Struct yash_syntax::input::Context
source · [−]#[non_exhaustive]pub struct Context;
Expand description
Current state in which source code is read.
The context is passed to the input function so that it can read the input in a context-dependent way.
Currently, this structure is empty. It may be extended to provide with some useful data in future versions.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more