#[repr(u32)]pub enum KeySynthType {
Press = 0,
Release = 1,
Pressrelease = 2,
Sym = 3,
String = 4,
Lockmodifiers = 5,
Unlockmodifiers = 6,
}
Variants§
Trait Implementations§
source§impl Clone for KeySynthType
impl Clone for KeySynthType
source§fn clone(&self) -> KeySynthType
fn clone(&self) -> KeySynthType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeySynthType
impl Debug for KeySynthType
source§impl<'de> Deserialize<'de> for KeySynthType
impl<'de> Deserialize<'de> for KeySynthType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for KeySynthType
impl PartialEq for KeySynthType
source§fn eq(&self, other: &KeySynthType) -> bool
fn eq(&self, other: &KeySynthType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeySynthType
impl Serialize for KeySynthType
source§impl Type for KeySynthType
impl Type for KeySynthType
impl Copy for KeySynthType
impl Eq for KeySynthType
impl StructuralPartialEq for KeySynthType
Auto Trait Implementations§
impl Freeze for KeySynthType
impl RefUnwindSafe for KeySynthType
impl Send for KeySynthType
impl Sync for KeySynthType
impl Unpin for KeySynthType
impl UnwindSafe for KeySynthType
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
source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more