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