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§
source§impl PartialEq for Modifier
impl PartialEq for Modifier
impl Copy for Modifier
impl Eq for Modifier
impl StructuralEq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
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