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 · 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 From<NoOpKeyState> for KeyState
impl From<NoOpKeyState> for KeyState
Source§fn from(_: NoOpKeyState) -> Self
fn from(_: NoOpKeyState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NoOpKeyState
impl PartialEq for NoOpKeyState
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 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