pub struct StructuralIdentity {Show 14 fields
pub language: String,
pub crate_name: Option<String>,
pub module: Option<String>,
pub container: Option<String>,
pub ast_kind: String,
pub symbol: Option<String>,
pub callee: Option<String>,
pub macro_name: Option<String>,
pub lint: Option<String>,
pub receiver_fingerprint: Option<String>,
pub target_fingerprint: Option<String>,
pub normalized_snippet_hash: Option<String>,
pub line_hint: Option<u32>,
pub column_hint: Option<u32>,
}Fields§
§language: String§crate_name: Option<String>§module: Option<String>§container: Option<String>§ast_kind: String§symbol: Option<String>§callee: Option<String>§macro_name: Option<String>§lint: Option<String>§receiver_fingerprint: Option<String>§target_fingerprint: Option<String>§normalized_snippet_hash: Option<String>§line_hint: Option<u32>§column_hint: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for StructuralIdentity
impl Clone for StructuralIdentity
Source§fn clone(&self) -> StructuralIdentity
fn clone(&self) -> StructuralIdentity
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 StructuralIdentity
impl Debug for StructuralIdentity
impl Eq for StructuralIdentity
Source§impl PartialEq for StructuralIdentity
impl PartialEq for StructuralIdentity
Source§fn eq(&self, other: &StructuralIdentity) -> bool
fn eq(&self, other: &StructuralIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructuralIdentity
Auto Trait Implementations§
impl Freeze for StructuralIdentity
impl RefUnwindSafe for StructuralIdentity
impl Send for StructuralIdentity
impl Sync for StructuralIdentity
impl Unpin for StructuralIdentity
impl UnsafeUnpin for StructuralIdentity
impl UnwindSafe for StructuralIdentity
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