pub struct KeyPressMsg(pub Key);Expand description
KeyPressMsg represents a key press message.
Tuple Fields§
§0: KeyTrait Implementations§
Source§impl Clone for KeyPressMsg
impl Clone for KeyPressMsg
Source§fn clone(&self) -> KeyPressMsg
fn clone(&self) -> KeyPressMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyPressMsg
impl Debug for KeyPressMsg
Source§impl Display for KeyPressMsg
impl Display for KeyPressMsg
impl Eq for KeyPressMsg
Source§impl PartialEq for KeyPressMsg
impl PartialEq for KeyPressMsg
impl StructuralPartialEq for KeyPressMsg
Auto Trait Implementations§
impl Freeze for KeyPressMsg
impl RefUnwindSafe for KeyPressMsg
impl Send for KeyPressMsg
impl Sync for KeyPressMsg
impl Unpin for KeyPressMsg
impl UnsafeUnpin for KeyPressMsg
impl UnwindSafe for KeyPressMsg
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