Struct SymbolMap
struct SymbolMap<T: SymbolMapEntry> { ... }
A map from addresses to symbol information.
The symbol information depends on the chosen entry type, such as SymbolMapName.
Returned by Object::symbol_map.
Implementations
impl<T: SymbolMapEntry> SymbolMap<T>
fn new(symbols: Vec<T>) -> SelfConstruct a new symbol map.
This function will sort the symbols by address.
fn get(self: &Self, address: u64) -> Option<&T>Get the symbol before the given address.
fn symbols(self: &Self) -> &[T]Get all symbols in the map.
impl<T> Any for SymbolMap<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for SymbolMap<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for SymbolMap<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for SymbolMap<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for SymbolMap<T>
impl<T> From for SymbolMap<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for SymbolMap<T>
impl<T> Send for SymbolMap<T>
impl<T> Sync for SymbolMap<T>
impl<T> ToOwned for SymbolMap<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for SymbolMap<T>
impl<T> UnwindSafe for SymbolMap<T>
impl<T, U> Into for SymbolMap<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for SymbolMap<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for SymbolMap<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone + SymbolMapEntry> Clone for SymbolMap<T>
fn clone(self: &Self) -> SymbolMap<T>
impl<T: $crate::default::Default + SymbolMapEntry> Default for SymbolMap<T>
fn default() -> SymbolMap<T>
impl<T: $crate::fmt::Debug + SymbolMapEntry> Debug for SymbolMap<T>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result