pub struct Binder {
pub name: SymbolId,
pub ty: TermId,
pub implicit: bool,
pub info: BinderInfo,
}Expand description
Binder information for lambda and Pi types
Fields§
§name: SymbolIdName of the bound variable (for pretty-printing)
ty: TermIdType of the bound variable
implicit: boolWhether this is an implicit binder
info: BinderInfoBinder info (default, implicit, strict implicit, etc.)
Implementations§
Trait Implementations§
impl Eq for Binder
impl StructuralPartialEq for Binder
Auto Trait Implementations§
impl Freeze for Binder
impl RefUnwindSafe for Binder
impl Send for Binder
impl Sync for Binder
impl Unpin for Binder
impl UnwindSafe for Binder
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