pub struct SymbolId {
pub language: LanguageId,
pub module: Vec<String>,
pub container: Option<String>,
pub name: String,
}Fields§
§language: LanguageId§module: Vec<String>§container: Option<String>§name: StringImplementations§
Source§impl SymbolId
impl SymbolId
pub fn short_name(&self) -> String
pub fn qualified_parts(&self) -> Vec<&str>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SymbolId
impl<'de> Deserialize<'de> for SymbolId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SymbolId
Source§impl Ord for SymbolId
impl Ord for SymbolId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SymbolId
impl PartialOrd for SymbolId
impl StructuralPartialEq for SymbolId
Auto Trait Implementations§
impl DynSend for SymbolId
impl DynSync for SymbolId
impl Freeze for SymbolId
impl RefUnwindSafe for SymbolId
impl Send for SymbolId
impl Sync for SymbolId
impl Unpin for SymbolId
impl UnsafeUnpin for SymbolId
impl UnwindSafe for SymbolId
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