pub enum Generic<T>where
T: Definition,{
VariableAccess(Rc<RefCell<Variable<T>>>),
Boxed(Expr<T>),
}
Variants§
Trait Implementations§
source§impl<T> Definition for Generic<T>where
T: Definition,
impl<T> Definition for Generic<T>where T: Definition,
source§fn order(&self, context: &CompileContext) -> usize
fn order(&self, context: &CompileContext) -> usize
Get the complexity order (how much adjustment is done to this entity).
source§fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
Check if the object contains an entity
Auto Trait Implementations§
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