[−][src]Struct win_mem::snapshot::Snapshot
A Snapshot handle
Implementations
impl Snapshot
[src]
pub fn process() -> Self
[src]
Creates a snapshot handle to parse into [Process32First(W)
] and [Process32Next(W)
]
pub fn module(process: &Process) -> Self
[src]
Creates a snapshot handle to parse into [Module32First(W)
] and [Module32Next(W)
]
pub fn handle(&self) -> HANDLE
[src]
Returns the handle created by CreateToolhelp32Snapshot
Trait Implementations
impl Drop for Snapshot
[src]
Close the Snapshot handle when variable goes out of scope so we don't have to worry about closing it ourselves
Auto Trait Implementations
impl RefUnwindSafe for Snapshot
impl !Send for Snapshot
impl !Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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,
pub 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, 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.
pub 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>,