pub struct HOTKEYF(/* private fields */);
Available on crate features
kernel
and shell
only.Expand description
wm::GetHotkey
and
wm::SetHotKey
modifiers;
SHELLEXECUTEINFO
dwHotKey
(u16
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl HOTKEYF
impl HOTKEYF
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 BitAndAssign for HOTKEYF
impl BitAndAssign for HOTKEYF
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for HOTKEYF
impl BitOrAssign for HOTKEYF
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for HOTKEYF
impl BitXorAssign for HOTKEYF
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for HOTKEYF
impl IntUnderlying for HOTKEYF
source§impl NativeBitflag for HOTKEYF
impl NativeBitflag for HOTKEYF
source§impl Ord for HOTKEYF
impl Ord for HOTKEYF
source§impl PartialEq for HOTKEYF
impl PartialEq for HOTKEYF
source§impl PartialOrd for HOTKEYF
impl PartialOrd for HOTKEYF
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 HOTKEYF
impl Eq for HOTKEYF
impl NativeConst for HOTKEYF
impl Send for HOTKEYF
impl StructuralPartialEq for HOTKEYF
Auto Trait Implementations§
impl Freeze for HOTKEYF
impl RefUnwindSafe for HOTKEYF
impl Sync for HOTKEYF
impl Unpin for HOTKEYF
impl UnwindSafe for HOTKEYF
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