pub struct GameMem { /* private fields */ }Implementations§
Source§impl GameMem
impl GameMem
pub fn init_via_pid(pid: i32) -> Result<Self, &'static str>
pub fn probe<F: FnMut(SampleData) -> Option<u64>>( &self, tid: i32, addr: u64, condition: F, ) -> Option<u64>
pub fn init_via_process_name(process_name: &str) -> Result<Self, &'static str>
pub fn get_tid_by_name(&self, name: &str) -> Option<i32>
pub fn read_memory_with_offsets<T: Default>( &self, addr: u64, buffer: *mut T, offsets: &[u64], ) -> bool
pub fn read_memory_with_length_and_offsets( &self, addr: u64, buffer: *mut c_void, length: usize, offsets: &[u64], ) -> bool
pub fn get_module_base(&self, name: &str) -> Option<u64>
pub fn read_with_offsets<T: Default>(&mut self, addr: u64, offsets: &[u64]) -> T
pub fn set_additional_offset(&mut self, offset: u64, negative: bool)
pub fn un_set_additional_offset(&mut self)
Auto Trait Implementations§
impl Freeze for GameMem
impl RefUnwindSafe for GameMem
impl !Send for GameMem
impl !Sync for GameMem
impl Unpin for GameMem
impl UnwindSafe for GameMem
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