Struct winsafe::co::PROCESS_AFFINITY
source · pub struct PROCESS_AFFINITY(/* private fields */);
Available on crate feature
kernel
only.Expand description
QueryProcessAffinityUpdateMode
and
SetProcessAffinityUpdateMode
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl PROCESS_AFFINITY
impl PROCESS_AFFINITY
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 PROCESS_AFFINITY
impl PROCESS_AFFINITY
pub const ENABLE_AUTO_UPDATE: Self = _
Trait Implementations§
source§impl AsRef<u32> for PROCESS_AFFINITY
impl AsRef<u32> for PROCESS_AFFINITY
source§impl Binary for PROCESS_AFFINITY
impl Binary for PROCESS_AFFINITY
source§impl BitAnd for PROCESS_AFFINITY
impl BitAnd for PROCESS_AFFINITY
source§impl BitAndAssign for PROCESS_AFFINITY
impl BitAndAssign for PROCESS_AFFINITY
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for PROCESS_AFFINITY
impl BitOr for PROCESS_AFFINITY
source§impl BitOrAssign for PROCESS_AFFINITY
impl BitOrAssign for PROCESS_AFFINITY
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for PROCESS_AFFINITY
impl BitXor for PROCESS_AFFINITY
source§impl BitXorAssign for PROCESS_AFFINITY
impl BitXorAssign for PROCESS_AFFINITY
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for PROCESS_AFFINITY
impl Clone for PROCESS_AFFINITY
source§fn clone(&self) -> PROCESS_AFFINITY
fn clone(&self) -> PROCESS_AFFINITY
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PROCESS_AFFINITY
impl Debug for PROCESS_AFFINITY
source§impl Default for PROCESS_AFFINITY
impl Default for PROCESS_AFFINITY
source§fn default() -> PROCESS_AFFINITY
fn default() -> PROCESS_AFFINITY
Returns the “default value” for a type. Read more
source§impl Display for PROCESS_AFFINITY
impl Display for PROCESS_AFFINITY
source§impl From<PROCESS_AFFINITY> for u32
impl From<PROCESS_AFFINITY> for u32
source§fn from(v: PROCESS_AFFINITY) -> Self
fn from(v: PROCESS_AFFINITY) -> Self
Converts to this type from the input type.
source§impl Hash for PROCESS_AFFINITY
impl Hash for PROCESS_AFFINITY
source§impl IntUnderlying for PROCESS_AFFINITY
impl IntUnderlying for PROCESS_AFFINITY
source§impl LowerHex for PROCESS_AFFINITY
impl LowerHex for PROCESS_AFFINITY
source§impl NativeBitflag for PROCESS_AFFINITY
impl NativeBitflag for PROCESS_AFFINITY
source§impl Not for PROCESS_AFFINITY
impl Not for PROCESS_AFFINITY
source§impl Octal for PROCESS_AFFINITY
impl Octal for PROCESS_AFFINITY
source§impl Ord for PROCESS_AFFINITY
impl Ord for PROCESS_AFFINITY
source§impl PartialEq for PROCESS_AFFINITY
impl PartialEq for PROCESS_AFFINITY
source§fn eq(&self, other: &PROCESS_AFFINITY) -> bool
fn eq(&self, other: &PROCESS_AFFINITY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PROCESS_AFFINITY
impl PartialOrd for PROCESS_AFFINITY
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 moresource§impl UpperHex for PROCESS_AFFINITY
impl UpperHex for PROCESS_AFFINITY
impl Copy for PROCESS_AFFINITY
impl Eq for PROCESS_AFFINITY
impl NativeConst for PROCESS_AFFINITY
impl Send for PROCESS_AFFINITY
impl StructuralPartialEq for PROCESS_AFFINITY
Auto Trait Implementations§
impl Freeze for PROCESS_AFFINITY
impl RefUnwindSafe for PROCESS_AFFINITY
impl Sync for PROCESS_AFFINITY
impl Unpin for PROCESS_AFFINITY
impl UnwindSafe for PROCESS_AFFINITY
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