pub struct Process { /* private fields */ }Implementations§
Source§impl Process
impl Process
Sourcepub fn read_memory<T>(
&self,
read_into: *mut T,
address: u32,
) -> Result<u32, NEXMemoryError>
pub fn read_memory<T>( &self, read_into: *mut T, address: u32, ) -> Result<u32, NEXMemoryError>
Reads the value inside [address] and inserts it into the [read_into].
§Usage
let mut variable: u32 = 0;
process.read_memory(&mut variable, 0x000000);Sourcepub fn write_memory<T>(
&self,
write: *mut T,
address: u32,
) -> Result<u32, NEXMemoryError>
pub fn write_memory<T>( &self, write: *mut T, address: u32, ) -> Result<u32, NEXMemoryError>
Sourcepub fn process_name(&self) -> Result<String, NEXMemoryError>
pub fn process_name(&self) -> Result<String, NEXMemoryError>
pub fn terminate(&self, code: u32) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Process
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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