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 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 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 for LibraryInfo
impl PartialEq for LibraryInfo
Source§impl PartialOrd for LibraryInfo
impl PartialOrd for LibraryInfo
impl Eq for LibraryInfo
impl StructuralPartialEq for LibraryInfo
Auto Trait Implementations§
impl Freeze for LibraryInfo
impl RefUnwindSafe for LibraryInfo
impl Send for LibraryInfo
impl Sync for LibraryInfo
impl Unpin for LibraryInfo
impl UnwindSafe for LibraryInfo
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