pub struct SrIdentifier {
pub unresolved: String,
pub resolved: Option<String>,
pub type_reference: Option<String>,
pub kind: SrIdentifierKind,
pub is_definition: bool,
}Expand description
Struct representing an identifier in the simplified representation.
Fields§
§unresolved: String§resolved: Option<String>§type_reference: Option<String>§kind: SrIdentifierKind§is_definition: boolImplementations§
Source§impl SrIdentifier
impl SrIdentifier
pub fn new(unresolved: String, kind: SrIdentifierKind) -> Self
Trait Implementations§
Source§impl Clone for SrIdentifier
impl Clone for SrIdentifier
Source§fn clone(&self) -> SrIdentifier
fn clone(&self) -> SrIdentifier
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 SrIdentifier
impl Debug for SrIdentifier
Source§impl From<SrIdentifier> for SrType
impl From<SrIdentifier> for SrType
Source§fn from(value: SrIdentifier) -> Self
fn from(value: SrIdentifier) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SrIdentifier
impl PartialEq for SrIdentifier
impl StructuralPartialEq for SrIdentifier
Auto Trait Implementations§
impl Freeze for SrIdentifier
impl RefUnwindSafe for SrIdentifier
impl Send for SrIdentifier
impl Sync for SrIdentifier
impl Unpin for SrIdentifier
impl UnwindSafe for SrIdentifier
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