Struct samply_symbols::LibraryInfo
source · pub struct LibraryInfo {
pub debug_name: Option<String>,
pub debug_id: Option<DebugId>,
pub debug_path: Option<String>,
pub name: Option<String>,
pub code_id: Option<CodeId>,
pub path: Option<String>,
pub arch: Option<String>,
}Expand description
Information about a library (“binary” / “module” / “DSO”) which allows finding symbol files for it. The information can be partial.
Fields§
§debug_name: Option<String>§debug_id: Option<DebugId>§debug_path: Option<String>§name: Option<String>§code_id: Option<CodeId>§path: Option<String>§arch: Option<String>Implementations§
source§impl LibraryInfo
impl LibraryInfo
sourcepub fn absorb(&mut self, other: &LibraryInfo)
pub fn absorb(&mut self, other: &LibraryInfo)
Fill all None fields on this object with the corresponding fields from other.
This should only be called if some minimal matching has been established, for
example if the code_id matches or if the combination pair debug_name, debug_id
matches.
Trait Implementations§
source§impl Clone for LibraryInfo
impl Clone for LibraryInfo
source§fn clone(&self) -> LibraryInfo
fn clone(&self) -> LibraryInfo
Returns a copy 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 LibraryInfo
impl Debug for LibraryInfo
source§impl Default for LibraryInfo
impl Default for LibraryInfo
source§fn default() -> LibraryInfo
fn default() -> LibraryInfo
Returns the “default value” for a type. Read more
source§impl Hash for LibraryInfo
impl Hash for LibraryInfo
source§impl Ord for LibraryInfo
impl Ord for LibraryInfo
source§fn cmp(&self, other: &LibraryInfo) -> Ordering
fn cmp(&self, other: &LibraryInfo) -> Ordering
1.21.0 · 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
source§impl PartialEq<LibraryInfo> for LibraryInfo
impl PartialEq<LibraryInfo> for LibraryInfo
source§fn eq(&self, other: &LibraryInfo) -> bool
fn eq(&self, other: &LibraryInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<LibraryInfo> for LibraryInfo
impl PartialOrd<LibraryInfo> for LibraryInfo
source§fn partial_cmp(&self, other: &LibraryInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &LibraryInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more