pub struct LcnfAlt {
pub ctor_name: String,
pub ctor_tag: u32,
pub params: Vec<LcnfParam>,
pub body: LcnfExpr,
}Expand description
A case alternative (branch) in LCNF.
Fields§
§ctor_name: StringThe constructor name for this alternative.
ctor_tag: u32The constructor tag (index in the inductive type).
params: Vec<LcnfParam>Parameters bound by the constructor.
body: LcnfExprThe body of this alternative.
Trait Implementations§
impl StructuralPartialEq for LcnfAlt
Auto Trait Implementations§
impl Freeze for LcnfAlt
impl RefUnwindSafe for LcnfAlt
impl Send for LcnfAlt
impl Sync for LcnfAlt
impl Unpin for LcnfAlt
impl UnsafeUnpin for LcnfAlt
impl UnwindSafe for LcnfAlt
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