pub enum Modifier {
Control,
Alt,
Mod4,
}
Expand description
Use to send modified keypresses
Variants
Control
Control and Alt are the only modifiers which doesn’t interfere with levels, so it’s simple to implement as levels are deprecated in squeekboard.
Alt
Mod4
Trait Implementations
impl Copy for Modifier
impl Eq for Modifier
impl StructuralEq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.