pub struct PROCESS_AFFINITY(/* private fields */);
Available on crate feature
kernel
only.Expand description
QueryProcessAffinityUpdateMode
and
SetProcessAffinityUpdateMode
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl PROCESS_AFFINITY
impl PROCESS_AFFINITY
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 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 duplicate 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 LowerHex for PROCESS_AFFINITY
impl LowerHex 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§impl PartialOrd for PROCESS_AFFINITY
impl PartialOrd for PROCESS_AFFINITY
Source§impl UpperHex for PROCESS_AFFINITY
impl UpperHex for PROCESS_AFFINITY
impl Copy for PROCESS_AFFINITY
impl Eq for PROCESS_AFFINITY
impl StructuralPartialEq for PROCESS_AFFINITY
Auto Trait Implementations§
impl Freeze for PROCESS_AFFINITY
impl RefUnwindSafe for PROCESS_AFFINITY
impl Send 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