pub struct Modifier(/* private fields */);
Expand description
This enum provides shorter names for the keyboard modifier keys supported by Qt.
C++ enum: Qt::Modifier
.
This enum provides shorter names for the keyboard modifier keys supported by Qt.
Note: On macOS, the CTRL
value corresponds to the Command keys on the keyboard, and the META
value corresponds to the Control keys.
See also KeyboardModifier and MouseButton.
Implementations§
Source§impl Modifier
impl Modifier
Sourcepub const SHIFT: Modifier
pub const SHIFT: Modifier
The Shift keys provided on all standard keyboards. (C++ enum variant: SHIFT = 33554432
)
Sourcepub const ALT: Modifier
pub const ALT: Modifier
The normal Alt keys, but not keys like AltGr. (C++ enum variant: ALT = 134217728
)
Sourcepub const MODIFIERMASK: Modifier
pub const MODIFIERMASK: Modifier
C++ enum variant: MODIFIER_MASK = -33554432
Sourcepub const UNICODEACCEL: Modifier
pub const UNICODEACCEL: Modifier
The shortcut is specified as a Unicode code point, not as a Qt Key. (C++ enum variant: UNICODE_ACCEL = 0
)
Trait Implementations§
impl Copy for Modifier
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
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