pub enum Generic<T>where
T: Displayed,{
VariableAccess(Rc<Variable<T>>),
Boxed(Expr<T>),
Dummy,
}
Variants§
VariableAccess(Rc<Variable<T>>)
Boxed(Expr<T>)
Dummy
Dummy is a value specifically for continued unrolling after error occurrence. It should never show up in compilation step.
Trait Implementations§
source§impl<T> CloneWithNode for Generic<T>where
T: Displayed,
impl<T> CloneWithNode for Generic<T>where
T: Displayed,
fn clone_with_node(&mut self) -> Self
fn clone_without_node(&self) -> Self
Auto Trait Implementations§
impl<T> Freeze for Generic<T>
impl<T> !RefUnwindSafe for Generic<T>
impl<T> !Send for Generic<T>
impl<T> !Sync for Generic<T>
impl<T> Unpin for Generic<T>
impl<T> !UnwindSafe for Generic<T>
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
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more