pub enum Behavior {
Sticky,
Regular,
}
Expand description
Whether the pressed Sticky modifier key is “sticky” or “regular”.
Variants§
Sticky
Key state is “sticky”. (Will activate sticky modifier when released).
Regular
Key state is “regular”. (No sticky modifiers activated when released).
Trait Implementations§
impl Copy for Behavior
impl Eq for Behavior
impl StructuralPartialEq for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnwindSafe for Behavior
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