pub struct TH32CS(/* private fields */);
Available on crate feature
kernel
only.Expand description
HPROCESSLIST::CreateToolhelp32Snapshot
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl TH32CS
impl TH32CS
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 IntUnderlying for TH32CS
impl IntUnderlying for TH32CS
source§impl NativeBitflag for TH32CS
impl NativeBitflag for TH32CS
source§impl Ord for TH32CS
impl Ord for TH32CS
source§impl PartialEq for TH32CS
impl PartialEq for TH32CS
source§impl PartialOrd for TH32CS
impl PartialOrd for TH32CS
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TH32CS
impl Eq for TH32CS
impl NativeConst for TH32CS
impl Send for TH32CS
impl StructuralPartialEq for TH32CS
Auto Trait Implementations§
impl Freeze for TH32CS
impl RefUnwindSafe 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