pub enum OneShotRetainableState {
KeyCode {
coord: KCoord,
kc: KeyCode,
},
Layer {
coord: KCoord,
layer: u16,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OneShotRetainableState
impl Clone for OneShotRetainableState
Source§fn clone(&self) -> OneShotRetainableState
fn clone(&self) -> OneShotRetainableState
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 moreimpl Copy for OneShotRetainableState
Source§impl Debug for OneShotRetainableState
impl Debug for OneShotRetainableState
impl Eq for OneShotRetainableState
Source§impl Hash for OneShotRetainableState
impl Hash for OneShotRetainableState
Source§impl PartialEq for OneShotRetainableState
impl PartialEq for OneShotRetainableState
impl StructuralPartialEq for OneShotRetainableState
Auto Trait Implementations§
impl Freeze for OneShotRetainableState
impl RefUnwindSafe for OneShotRetainableState
impl Send for OneShotRetainableState
impl Sync for OneShotRetainableState
impl Unpin for OneShotRetainableState
impl UnsafeUnpin for OneShotRetainableState
impl UnwindSafe for OneShotRetainableState
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