Enum StickyKeyRelease
pub enum StickyKeyRelease {
OnModifiedKeyRelease,
OnNextKeyPress,
}Expand description
When the sticky modifiers release.
Variants§
OnModifiedKeyRelease
Sticky modifiers release when the modified key is released.
OnNextKeyPress
Sticky modifiers release when a key is pressed after the modified key.
Trait Implementations§
§impl Clone for StickyKeyRelease
impl Clone for StickyKeyRelease
§fn clone(&self) -> StickyKeyRelease
fn clone(&self) -> StickyKeyRelease
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 StickyKeyRelease
§impl Debug for StickyKeyRelease
impl Debug for StickyKeyRelease
§impl<'de> Deserialize<'de> for StickyKeyRelease
impl<'de> Deserialize<'de> for StickyKeyRelease
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StickyKeyRelease, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StickyKeyRelease, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for StickyKeyRelease
impl PartialEq for StickyKeyRelease
§fn eq(&self, other: &StickyKeyRelease) -> bool
fn eq(&self, other: &StickyKeyRelease) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StickyKeyRelease
Auto Trait Implementations§
impl Freeze for StickyKeyRelease
impl RefUnwindSafe for StickyKeyRelease
impl Send for StickyKeyRelease
impl Sync for StickyKeyRelease
impl Unpin for StickyKeyRelease
impl UnsafeUnpin for StickyKeyRelease
impl UnwindSafe for StickyKeyRelease
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