[−][src]Enum process_memory::Architecture
Enum representing the architecture of a process
Variants
8-bit architecture
16-bit architecture
32-bit architecture
64-bit architecture
Implementations
impl Architecture
[src]
#[must_use]pub fn from_native() -> Architecture
[src]
Create an Architecture matching that of the host process.
#[must_use]pub fn pointer_from_ne_bytes(self, bytes: &[u8]) -> usize
[src]
Convert bytes read from memory into a pointer in the current architecture.
Trait Implementations
impl Clone for Architecture
[src]
fn clone(&self) -> Architecture
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Architecture
[src]
impl Debug for Architecture
[src]
Auto Trait Implementations
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,