Struct winsafe::co::TASK_STATE
source · pub struct TASK_STATE(/* private fields */);
Available on crate features
kernel
and taskschd
only.Expand description
TASK_STATE
enumeration (u32
).
Implementations§
source§impl TASK_STATE
impl TASK_STATE
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 TASK_STATE
impl AsRef<u32> for TASK_STATE
source§impl Binary for TASK_STATE
impl Binary for TASK_STATE
source§impl Clone for TASK_STATE
impl Clone for TASK_STATE
source§fn clone(&self) -> TASK_STATE
fn clone(&self) -> TASK_STATE
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 TASK_STATE
impl Debug for TASK_STATE
source§impl Default for TASK_STATE
impl Default for TASK_STATE
source§fn default() -> TASK_STATE
fn default() -> TASK_STATE
Returns the “default value” for a type. Read more
source§impl Display for TASK_STATE
impl Display for TASK_STATE
source§impl From<TASK_STATE> for u32
impl From<TASK_STATE> for u32
source§fn from(v: TASK_STATE) -> Self
fn from(v: TASK_STATE) -> Self
Converts to this type from the input type.
source§impl Hash for TASK_STATE
impl Hash for TASK_STATE
source§impl IntUnderlying for TASK_STATE
impl IntUnderlying for TASK_STATE
source§impl LowerHex for TASK_STATE
impl LowerHex for TASK_STATE
source§impl Octal for TASK_STATE
impl Octal for TASK_STATE
source§impl Ord for TASK_STATE
impl Ord for TASK_STATE
source§impl PartialEq for TASK_STATE
impl PartialEq for TASK_STATE
source§fn eq(&self, other: &TASK_STATE) -> bool
fn eq(&self, other: &TASK_STATE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TASK_STATE
impl PartialOrd for TASK_STATE
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 TASK_STATE
impl UpperHex for TASK_STATE
impl Copy for TASK_STATE
impl Eq for TASK_STATE
impl NativeConst for TASK_STATE
impl Send for TASK_STATE
impl StructuralPartialEq for TASK_STATE
Auto Trait Implementations§
impl Freeze for TASK_STATE
impl RefUnwindSafe for TASK_STATE
impl Sync for TASK_STATE
impl Unpin for TASK_STATE
impl UnwindSafe for TASK_STATE
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