pub struct DynamicSymbolMap { /* private fields */ }Implementations§
Source§impl DynamicSymbolMap
impl DynamicSymbolMap
pub fn new() -> Self
pub fn copy(&self) -> Self
pub fn add_symbol(&mut self, name: String, kind: SymbolKind, offset: u64)
pub fn add_entry_point(&mut self, name: String, offset: u64)
pub fn add_call_target(&mut self, name: String, offset: u64)
pub fn get_entry_points(&self) -> Vec<(String, u64)>
pub fn get_call_targets(&self) -> Vec<(String, u64)>
pub fn get_symbol(&self, name: &str) -> Option<&Vec<(SymbolKind, u64)>>
pub fn get_symbols(&self) -> &BTreeMap<String, Vec<(SymbolKind, u64)>>
Trait Implementations§
Source§impl Debug for DynamicSymbolMap
impl Debug for DynamicSymbolMap
Source§impl Default for DynamicSymbolMap
impl Default for DynamicSymbolMap
Source§fn default() -> DynamicSymbolMap
fn default() -> DynamicSymbolMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicSymbolMap
impl RefUnwindSafe for DynamicSymbolMap
impl Send for DynamicSymbolMap
impl Sync for DynamicSymbolMap
impl Unpin for DynamicSymbolMap
impl UnwindSafe for DynamicSymbolMap
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more