pub struct RankedSymbol {
pub name: String,
pub score: usize,
pub paths: Vec<String>,
}Expand description
A symbol name ranked by some score, with the paths that define it. paths
is empty when the name is referenced but never defined in this view (a call
into a dependency, or a name the parser saw but no slice declares).
Fields§
§name: String§score: usize§paths: Vec<String>Trait Implementations§
Source§impl Clone for RankedSymbol
impl Clone for RankedSymbol
Source§fn clone(&self) -> RankedSymbol
fn clone(&self) -> RankedSymbol
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 RankedSymbol
impl Debug for RankedSymbol
Source§impl<'de> Deserialize<'de> for RankedSymbol
impl<'de> Deserialize<'de> for RankedSymbol
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
Source§impl PartialEq for RankedSymbol
impl PartialEq for RankedSymbol
Source§impl Serialize for RankedSymbol
impl Serialize for RankedSymbol
impl Eq for RankedSymbol
impl StructuralPartialEq for RankedSymbol
Auto Trait Implementations§
impl Freeze for RankedSymbol
impl RefUnwindSafe for RankedSymbol
impl Send for RankedSymbol
impl Sync for RankedSymbol
impl Unpin for RankedSymbol
impl UnsafeUnpin for RankedSymbol
impl UnwindSafe for RankedSymbol
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