pub struct FileSymbols {
pub path: CompactString,
pub content_hash: u64,
pub symbols: Vec<Symbol>,
}Expand description
Symbols extracted from one file and tied to its source content.
Fields§
§path: CompactStringRepository-relative source path.
content_hash: u64Content hash supplied by the host.
symbols: Vec<Symbol>Symbols in source order.
Trait Implementations§
Source§impl Clone for FileSymbols
impl Clone for FileSymbols
Source§fn clone(&self) -> FileSymbols
fn clone(&self) -> FileSymbols
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 FileSymbols
impl Debug for FileSymbols
impl Eq for FileSymbols
Source§impl PartialEq for FileSymbols
impl PartialEq for FileSymbols
impl StructuralPartialEq for FileSymbols
Auto Trait Implementations§
impl Freeze for FileSymbols
impl RefUnwindSafe for FileSymbols
impl Send for FileSymbols
impl Sync for FileSymbols
impl Unpin for FileSymbols
impl UnsafeUnpin for FileSymbols
impl UnwindSafe for FileSymbols
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.