Struct winsafe::co::APPCOMMAND
source · pub struct APPCOMMAND(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::AppCommand
commands (u16
).
Implementations§
source§impl APPCOMMAND
impl APPCOMMAND
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.
source§impl APPCOMMAND
impl APPCOMMAND
pub const BROWSER_BACKWARD: Self = _
pub const BROWSER_FORWARD: Self = _
pub const BROWSER_REFRESH: Self = _
pub const BROWSER_STOP: Self = _
pub const BROWSER_SEARCH: Self = _
pub const BROWSER_FAVORITES: Self = _
pub const BROWSER_HOME: Self = _
pub const VOLUME_MUTE: Self = _
pub const VOLUME_DOWN: Self = _
pub const VOLUME_UP: Self = _
pub const MEDIA_NEXTTRACK: Self = _
pub const MEDIA_PREVIOUSTRACK: Self = _
pub const MEDIA_STOP: Self = _
pub const MEDIA_PLAY_PAUSE: Self = _
pub const LAUNCH_MAIL: Self = _
pub const LAUNCH_MEDIA_SELECT: Self = _
pub const LAUNCH_APP1: Self = _
pub const LAUNCH_APP2: Self = _
pub const BASS_DOWN: Self = _
pub const BASS_BOOST: Self = _
pub const BASS_UP: Self = _
pub const TREBLE_DOWN: Self = _
pub const TREBLE_UP: Self = _
pub const MICROPHONE_VOLUME_MUTE: Self = _
pub const MICROPHONE_VOLUME_DOWN: Self = _
pub const MICROPHONE_VOLUME_UP: Self = _
pub const HELP: Self = _
pub const FIND: Self = _
pub const NEW: Self = _
pub const OPEN: Self = _
pub const CLOSE: Self = _
pub const SAVE: Self = _
pub const PRINT: Self = _
pub const UNDO: Self = _
pub const REDO: Self = _
pub const COPY: Self = _
pub const CUT: Self = _
pub const PASTE: Self = _
pub const REPLY_TO_MAIL: Self = _
pub const FORWARD_MAIL: Self = _
pub const SEND_MAIL: Self = _
pub const SPELL_CHECK: Self = _
pub const DICTATE_OR_COMMAND_CONTROL_TOGGLE: Self = _
pub const MIC_ON_OFF_TOGGLE: Self = _
pub const CORRECTION_LIST: Self = _
pub const MEDIA_PLAY: Self = _
pub const MEDIA_PAUSE: Self = _
pub const MEDIA_RECORD: Self = _
pub const MEDIA_FAST_FORWARD: Self = _
pub const MEDIA_REWIND: Self = _
pub const MEDIA_CHANNEL_UP: Self = _
pub const MEDIA_CHANNEL_DOWN: Self = _
pub const DELETE: Self = _
pub const DWM_FLIP3D: Self = _
Trait Implementations§
source§impl AsRef<u16> for APPCOMMAND
impl AsRef<u16> for APPCOMMAND
source§impl Binary for APPCOMMAND
impl Binary for APPCOMMAND
source§impl Clone for APPCOMMAND
impl Clone for APPCOMMAND
source§fn clone(&self) -> APPCOMMAND
fn clone(&self) -> APPCOMMAND
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 APPCOMMAND
impl Debug for APPCOMMAND
source§impl Default for APPCOMMAND
impl Default for APPCOMMAND
source§fn default() -> APPCOMMAND
fn default() -> APPCOMMAND
Returns the “default value” for a type. Read more
source§impl Display for APPCOMMAND
impl Display for APPCOMMAND
source§impl From<APPCOMMAND> for u16
impl From<APPCOMMAND> for u16
source§fn from(v: APPCOMMAND) -> Self
fn from(v: APPCOMMAND) -> Self
Converts to this type from the input type.
source§impl Hash for APPCOMMAND
impl Hash for APPCOMMAND
source§impl IntUnderlying for APPCOMMAND
impl IntUnderlying for APPCOMMAND
source§impl LowerHex for APPCOMMAND
impl LowerHex for APPCOMMAND
source§impl Octal for APPCOMMAND
impl Octal for APPCOMMAND
source§impl Ord for APPCOMMAND
impl Ord for APPCOMMAND
source§impl PartialEq for APPCOMMAND
impl PartialEq for APPCOMMAND
source§fn eq(&self, other: &APPCOMMAND) -> bool
fn eq(&self, other: &APPCOMMAND) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for APPCOMMAND
impl PartialOrd for APPCOMMAND
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 APPCOMMAND
impl UpperHex for APPCOMMAND
impl Copy for APPCOMMAND
impl Eq for APPCOMMAND
impl NativeConst for APPCOMMAND
impl Send for APPCOMMAND
impl StructuralPartialEq for APPCOMMAND
Auto Trait Implementations§
impl Freeze for APPCOMMAND
impl RefUnwindSafe for APPCOMMAND
impl Sync for APPCOMMAND
impl Unpin for APPCOMMAND
impl UnwindSafe for APPCOMMAND
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