pub struct ContextEntry {
pub name: SymbolId,
pub ty: TermId,
pub value: Option<TermId>,
}Expand description
Entry in the local context
Fields§
§name: SymbolIdName of the variable (for pretty-printing)
ty: TermIdType of the variable
value: Option<TermId>Optional value (for let bindings)
Implementations§
Trait Implementations§
Source§impl Clone for ContextEntry
impl Clone for ContextEntry
Source§fn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextEntry
impl Debug for ContextEntry
Source§impl PartialEq for ContextEntry
impl PartialEq for ContextEntry
impl Eq for ContextEntry
impl StructuralPartialEq for ContextEntry
Auto Trait Implementations§
impl Freeze for ContextEntry
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnwindSafe for ContextEntry
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