pub enum LcnfArg {
Var(LcnfVarId),
Lit(LcnfLit),
Erased,
Type(LcnfType),
}Expand description
An argument to a function call or constructor in LCNF.
In ANF, arguments must be “atomic” — either variables or literals.
Variants§
Var(LcnfVarId)
A variable reference.
Lit(LcnfLit)
A literal value.
Erased
An erased argument (placeholder for proof terms).
Type(LcnfType)
A type argument (may be erased depending on config).
Trait Implementations§
impl Eq for LcnfArg
impl StructuralPartialEq for LcnfArg
Auto Trait Implementations§
impl Freeze for LcnfArg
impl RefUnwindSafe for LcnfArg
impl Send for LcnfArg
impl Sync for LcnfArg
impl Unpin for LcnfArg
impl UnsafeUnpin for LcnfArg
impl UnwindSafe for LcnfArg
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