pub enum LayerOp {
Momentary(u8),
Toggle(u8),
}
Expand description
Keycode for layer operations.
Variants§
Momentary(u8)
Momentary activates the specified layer.
Toggle(u8)
Toggles the state of the specified layer.
Trait Implementations§
Source§impl IntoEnumIterator for LayerOp
impl IntoEnumIterator for LayerOp
type Iterator = LayerOpIter
fn iter() -> LayerOpIter ⓘ
impl Copy for LayerOp
impl Eq for LayerOp
impl StructuralPartialEq for LayerOp
Auto Trait Implementations§
impl Freeze for LayerOp
impl RefUnwindSafe for LayerOp
impl Send for LayerOp
impl Sync for LayerOp
impl Unpin for LayerOp
impl UnwindSafe for LayerOp
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