pub enum KeyMsg {
Press(KeyPressMsg),
Release(KeyReleaseMsg),
}Expand description
KeyMsg trait/enum abstraction covering KeyPressMsg and KeyReleaseMsg.
Variants§
Implementations§
Trait Implementations§
impl Eq for KeyMsg
impl StructuralPartialEq for KeyMsg
Auto Trait Implementations§
impl Freeze for KeyMsg
impl RefUnwindSafe for KeyMsg
impl Send for KeyMsg
impl Sync for KeyMsg
impl Unpin for KeyMsg
impl UnsafeUnpin for KeyMsg
impl UnwindSafe for KeyMsg
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