pub struct ExternalFileAddressInFileRef {
pub name_in_archive: Option<String>,
pub symbol_name: Vec<u8>,
pub offset_from_symbol: u32,
}Expand description
Information to find an address within an external file, for debug info lookup.
Fields§
§name_in_archive: Option<String>If the external file is an archive file (e.g. libjs_static.a, created with ar),
then this is the name of the archive member (e.g. Unified_cpp_js_src23.o),
otherwise None.
symbol_name: Vec<u8>The name of the function symbol, as bytes, for the function which contains the address we want to look up.
offset_from_symbol: u32The address to look up, as a relative offset from the function symbol address.
Trait Implementations§
source§impl Clone for ExternalFileAddressInFileRef
impl Clone for ExternalFileAddressInFileRef
source§fn clone(&self) -> ExternalFileAddressInFileRef
fn clone(&self) -> ExternalFileAddressInFileRef
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 ExternalFileAddressInFileRef
impl Debug for ExternalFileAddressInFileRef
source§impl Hash for ExternalFileAddressInFileRef
impl Hash for ExternalFileAddressInFileRef
source§impl Ord for ExternalFileAddressInFileRef
impl Ord for ExternalFileAddressInFileRef
source§fn cmp(&self, other: &ExternalFileAddressInFileRef) -> Ordering
fn cmp(&self, other: &ExternalFileAddressInFileRef) -> 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<ExternalFileAddressInFileRef> for ExternalFileAddressInFileRef
impl PartialEq<ExternalFileAddressInFileRef> for ExternalFileAddressInFileRef
source§fn eq(&self, other: &ExternalFileAddressInFileRef) -> bool
fn eq(&self, other: &ExternalFileAddressInFileRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ExternalFileAddressInFileRef> for ExternalFileAddressInFileRef
impl PartialOrd<ExternalFileAddressInFileRef> for ExternalFileAddressInFileRef
source§fn partial_cmp(&self, other: &ExternalFileAddressInFileRef) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalFileAddressInFileRef) -> 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