pub enum KeyRole {
Movement,
Bound,
Unbound,
}Expand description
What a key does in a layout.
Variants§
Movement
Moves the cursor (a key that repeats while held).
Bound
Does something else.
Unbound
Does nothing.
Trait Implementations§
impl Copy for KeyRole
impl Eq for KeyRole
impl StructuralPartialEq for KeyRole
Auto Trait Implementations§
impl Freeze for KeyRole
impl RefUnwindSafe for KeyRole
impl Send for KeyRole
impl Sync for KeyRole
impl Unpin for KeyRole
impl UnsafeUnpin for KeyRole
impl UnwindSafe for KeyRole
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