pub struct ModuleMap { /* private fields */ }
Implementations§
source§impl ModuleMap
impl ModuleMap
sourcepub fn new_with_filter(
_gum: &Gum,
filter: &mut dyn FnMut(ModuleDetails) -> bool
) -> Self
pub fn new_with_filter( _gum: &Gum, filter: &mut dyn FnMut(ModuleDetails) -> bool ) -> Self
Create a new ModuleMap
with a filter function
sourcepub fn find(&self, address: u64) -> Option<ModuleDetails>
pub fn find(&self, address: u64) -> Option<ModuleDetails>
Find the given address in the ModuleMap
sourcepub fn values(&self) -> Vec<ModuleDetails>
pub fn values(&self) -> Vec<ModuleDetails>
Get an array of the ModuleDetails
which make up this ModuleMap
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleMap
impl RefUnwindSafe for ModuleMap
impl !Send for ModuleMap
impl !Sync for ModuleMap
impl Unpin for ModuleMap
impl UnwindSafe for ModuleMap
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