pub struct InventorySymbol {Show 14 fields
pub id: SymbolId,
pub source: SourceId,
pub identity: Arc<str>,
pub name: Arc<str>,
pub kind: Arc<str>,
pub shape: Arc<str>,
pub visibility: Arc<str>,
pub language: Arc<str>,
pub source_path: Arc<str>,
pub source_root: usize,
pub srcset: Arc<str>,
pub line_range: Option<(u32, u32)>,
pub parent: Option<SymbolId>,
pub segments: Arc<[InventorySegment]>,
}Fields§
§id: SymbolId§source: SourceId§identity: Arc<str>§name: Arc<str>§kind: Arc<str>§shape: Arc<str>§visibility: Arc<str>§language: Arc<str>§source_path: Arc<str>§source_root: usize§srcset: Arc<str>§line_range: Option<(u32, u32)>§parent: Option<SymbolId>§segments: Arc<[InventorySegment]>Trait Implementations§
Source§impl Clone for InventorySymbol
impl Clone for InventorySymbol
Source§fn clone(&self) -> InventorySymbol
fn clone(&self) -> InventorySymbol
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 InventorySymbol
impl Debug for InventorySymbol
impl Eq for InventorySymbol
Source§impl PartialEq for InventorySymbol
impl PartialEq for InventorySymbol
impl StructuralPartialEq for InventorySymbol
Auto Trait Implementations§
impl Freeze for InventorySymbol
impl RefUnwindSafe for InventorySymbol
impl Send for InventorySymbol
impl Sync for InventorySymbol
impl Unpin for InventorySymbol
impl UnsafeUnpin for InventorySymbol
impl UnwindSafe for InventorySymbol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more