pub struct LeanWorkerNameRef {
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. is_binder distinguishes
binding sites from use sites.
Fields§
§start_line: u32§start_column: u32§end_line: u32§end_column: u32§name: String§is_binder: boolTrait Implementations§
Source§impl Clone for LeanWorkerNameRef
impl Clone for LeanWorkerNameRef
Source§fn clone(&self) -> LeanWorkerNameRef
fn clone(&self) -> LeanWorkerNameRef
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 LeanWorkerNameRef
impl Debug for LeanWorkerNameRef
Source§impl<'de> Deserialize<'de> for LeanWorkerNameRef
impl<'de> Deserialize<'de> for LeanWorkerNameRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerNameRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerNameRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerNameRef
Source§impl PartialEq for LeanWorkerNameRef
impl PartialEq for LeanWorkerNameRef
Source§fn eq(&self, other: &LeanWorkerNameRef) -> bool
fn eq(&self, other: &LeanWorkerNameRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerNameRef
impl Serialize for LeanWorkerNameRef
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerNameRef
Auto Trait Implementations§
impl Freeze for LeanWorkerNameRef
impl RefUnwindSafe for LeanWorkerNameRef
impl Send for LeanWorkerNameRef
impl Sync for LeanWorkerNameRef
impl Unpin for LeanWorkerNameRef
impl UnsafeUnpin for LeanWorkerNameRef
impl UnwindSafe for LeanWorkerNameRef
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