pub struct TH32CS(/* private fields */);
Available on crate feature
kernel
only.Expand description
HPROCESSLIST::CreateToolhelp32Snapshot
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl TH32CS
impl TH32CS
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
Sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Source§impl TH32CS
impl TH32CS
Sourcepub const SNAPHEAPLIST: Self
pub const SNAPHEAPLIST: Self
Includes all heaps of the process.
Sourcepub const SNAPPROCESS: Self
pub const SNAPPROCESS: Self
Includes all processes of the process in the snapshot.
Sourcepub const SNAPTHREAD: Self
pub const SNAPTHREAD: Self
Includes all threads of the process in the snapshot.
Sourcepub const SNAPMODULE: Self
pub const SNAPMODULE: Self
Includes all modules of the process in the snapshot.
Sourcepub const SNAPMODULE32: Self
pub const SNAPMODULE32: Self
Includes all 32-bit modules of the process when called from a 64-bit process.
Trait Implementations§
Source§impl BitAndAssign for TH32CS
impl BitAndAssign for TH32CS
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for TH32CS
impl BitOrAssign for TH32CS
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXorAssign for TH32CS
impl BitXorAssign for TH32CS
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Ord for TH32CS
impl Ord for TH32CS
Source§impl PartialOrd for TH32CS
impl PartialOrd for TH32CS
impl Copy for TH32CS
impl Eq for TH32CS
impl StructuralPartialEq for TH32CS
Auto Trait Implementations§
impl Freeze for TH32CS
impl RefUnwindSafe for TH32CS
impl Send for TH32CS
impl Sync for TH32CS
impl Unpin for TH32CS
impl UnwindSafe for TH32CS
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