pub struct KeyEventState(/* private fields */);Expand description
Additional state reported with an enhanced keyboard event.
Implementations§
Trait Implementations§
Source§impl BitOr for KeyEventState
impl BitOr for KeyEventState
Source§impl Clone for KeyEventState
impl Clone for KeyEventState
Source§fn clone(&self) -> KeyEventState
fn clone(&self) -> KeyEventState
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 KeyEventState
impl Debug for KeyEventState
Source§impl Default for KeyEventState
impl Default for KeyEventState
Source§fn default() -> KeyEventState
fn default() -> KeyEventState
Returns the “default value” for a type. Read more
Source§impl Hash for KeyEventState
impl Hash for KeyEventState
Source§impl PartialEq for KeyEventState
impl PartialEq for KeyEventState
Source§fn eq(&self, other: &KeyEventState) -> bool
fn eq(&self, other: &KeyEventState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for KeyEventState
impl Eq for KeyEventState
impl StructuralPartialEq for KeyEventState
Auto Trait Implementations§
impl Freeze for KeyEventState
impl RefUnwindSafe for KeyEventState
impl Send for KeyEventState
impl Sync for KeyEventState
impl Unpin for KeyEventState
impl UnsafeUnpin for KeyEventState
impl UnwindSafe for KeyEventState
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