pub struct LcnfParam {
pub id: LcnfVarId,
pub name: String,
pub ty: LcnfType,
pub erased: bool,
pub borrowed: bool,
}Expand description
A parameter declaration in LCNF.
Fields§
§id: LcnfVarIdThe variable ID for this parameter.
name: StringThe name hint for this parameter.
ty: LcnfTypeThe type of this parameter.
erased: boolWhether this parameter is erased (proof-irrelevant).
borrowed: boolWhether this parameter is borrowed (no RC inc/dec needed).
Trait Implementations§
impl Eq for LcnfParam
impl StructuralPartialEq for LcnfParam
Auto Trait Implementations§
impl Freeze for LcnfParam
impl RefUnwindSafe for LcnfParam
impl Send for LcnfParam
impl Sync for LcnfParam
impl Unpin for LcnfParam
impl UnsafeUnpin for LcnfParam
impl UnwindSafe for LcnfParam
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