pub struct QS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
GetQueueStatus
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl QS
impl QS
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 QS
impl QS
pub const KEY: Self = _
pub const MOUSEMOVE: Self = _
pub const MOUSEBUTTON: Self = _
pub const POSTMESSAGE: Self = _
pub const TIMER: Self = _
pub const PAINT: Self = _
pub const SENDMESSAGE: Self = _
pub const HOTKEY: Self = _
pub const ALLPOSTMESSAGE: Self = _
pub const RAWINPUT: Self = _
pub const TOUCH: Self = _
pub const POINTER: Self = _
pub const MOUSE: Self = _
pub const INPUT: Self = _
pub const ALLINPUT: Self = _
Trait Implementations§
source§impl BitAndAssign for QS
impl BitAndAssign for QS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for QS
impl BitOrAssign for QS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for QS
impl BitXorAssign for QS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for QS
impl IntUnderlying for QS
source§impl NativeBitflag for QS
impl NativeBitflag for QS
source§impl Ord for QS
impl Ord for QS
source§impl PartialOrd for QS
impl PartialOrd for QS
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 QS
impl Eq for QS
impl NativeConst for QS
impl Send for QS
impl StructuralPartialEq for QS
Auto Trait Implementations§
impl Freeze for QS
impl RefUnwindSafe for QS
impl Sync for QS
impl Unpin for QS
impl UnwindSafe for QS
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