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