Enum ezno_checker::context::GeneralContext
source · pub enum GeneralContext<'a> {
Syntax(&'a Environment<'a>),
Root(&'a RootContext),
}
Variants§
Syntax(&'a Environment<'a>)
Root(&'a RootContext)
Trait Implementations§
source§impl<'a> Clone for GeneralContext<'a>
impl<'a> Clone for GeneralContext<'a>
source§fn clone(&self) -> GeneralContext<'a>
fn clone(&self) -> GeneralContext<'a>
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<'a> Debug for GeneralContext<'a>
impl<'a> Debug for GeneralContext<'a>
source§impl<'a> From<&'a Context<Root>> for GeneralContext<'a>
impl<'a> From<&'a Context<Root>> for GeneralContext<'a>
source§fn from(root: &'a RootContext) -> Self
fn from(root: &'a RootContext) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a Context<Syntax<'a>>> for GeneralContext<'a>
impl<'a> From<&'a Context<Syntax<'a>>> for GeneralContext<'a>
source§fn from(env: &'a Environment<'a>) -> Self
fn from(env: &'a Environment<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for GeneralContext<'a>
impl<'a> RefUnwindSafe for GeneralContext<'a>
impl<'a> Send for GeneralContext<'a>
impl<'a> Sync for GeneralContext<'a>
impl<'a> Unpin for GeneralContext<'a>
impl<'a> UnwindSafe for GeneralContext<'a>
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