Struct fxprof_processed_profile::Symbol
source · pub struct Symbol {
pub address: u32,
pub size: Option<u32>,
pub name: String,
}
Expand description
A single symbol from a SymbolTable
.
Fields§
§address: u32
The symbol’s address, as a “relative address”, i.e. relative to the library’s base address.
size: Option<u32>
The symbol’s size, if known. This is often just set based on the address of the next symbol.
name: String
The symbol name.
Trait Implementations§
source§impl Ord for Symbol
impl Ord for Symbol
source§impl PartialEq<Symbol> for Symbol
impl PartialEq<Symbol> for Symbol
source§impl PartialOrd<Symbol> for Symbol
impl PartialOrd<Symbol> for Symbol
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 moreimpl Eq for Symbol
impl StructuralEq for Symbol
impl StructuralPartialEq for Symbol
Auto Trait Implementations§
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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