pub struct NameRefNode {
pub start_line: u32,
pub start_column: u32,
pub end_line: u32,
pub end_column: u32,
pub name: String,
pub is_binder: bool,
}Expand description
One identifier occurrence the elaborator recorded.
Fields§
§start_line: u32§start_column: u32§end_line: u32§end_column: u32§name: String§is_binder: boolTrait Implementations§
Source§impl Clone for NameRefNode
impl Clone for NameRefNode
Source§fn clone(&self) -> NameRefNode
fn clone(&self) -> NameRefNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NameRefNode
impl Debug for NameRefNode
impl Eq for NameRefNode
Source§impl PartialEq for NameRefNode
impl PartialEq for NameRefNode
Source§fn eq(&self, other: &NameRefNode) -> bool
fn eq(&self, other: &NameRefNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NameRefNode
Source§impl<'lean> TryFromLean<'lean> for NameRefNode
impl<'lean> TryFromLean<'lean> for NameRefNode
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for NameRefNode
impl RefUnwindSafe for NameRefNode
impl Send for NameRefNode
impl Sync for NameRefNode
impl Unpin for NameRefNode
impl UnsafeUnpin for NameRefNode
impl UnwindSafe for NameRefNode
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