pub struct MenuShortcut {
pub key: u64,
pub modifiers: ShortcutModifiers,
}Expand description
The keys that choose an item: a key with modifiers held, as Flutter’s ShortcutSerialization
carries a trigger and its modifiers.
Fields§
§key: u64The key, by Flutter’s LogicalKeyboardKey.keyId: a character’s Unicode value for a key that
types one.
modifiers: ShortcutModifiersTrait Implementations§
Source§impl Clone for MenuShortcut
impl Clone for MenuShortcut
impl Copy for MenuShortcut
Source§impl Debug for MenuShortcut
impl Debug for MenuShortcut
impl Eq for MenuShortcut
Source§impl PartialEq for MenuShortcut
impl PartialEq for MenuShortcut
impl StructuralPartialEq for MenuShortcut
Auto Trait Implementations§
impl Freeze for MenuShortcut
impl RefUnwindSafe for MenuShortcut
impl Send for MenuShortcut
impl Sync for MenuShortcut
impl Unpin for MenuShortcut
impl UnsafeUnpin for MenuShortcut
impl UnwindSafe for MenuShortcut
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.