pub struct NoOpKeyState;Expand description
A NoOp key state, for keys which do nothing when pressed.
Trait Implementations§
Source§impl Clone for NoOpKeyState
impl Clone for NoOpKeyState
Source§fn clone(&self) -> NoOpKeyState
fn clone(&self) -> NoOpKeyState
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 NoOpKeyState
impl Debug for NoOpKeyState
Source§impl PartialEq for NoOpKeyState
impl PartialEq for NoOpKeyState
Source§fn eq(&self, other: &NoOpKeyState) -> bool
fn eq(&self, other: &NoOpKeyState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NoOpKeyState
impl Eq for NoOpKeyState
impl StructuralPartialEq for NoOpKeyState
Auto Trait Implementations§
impl Freeze for NoOpKeyState
impl RefUnwindSafe for NoOpKeyState
impl Send for NoOpKeyState
impl Sync for NoOpKeyState
impl Unpin for NoOpKeyState
impl UnsafeUnpin for NoOpKeyState
impl UnwindSafe for NoOpKeyState
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