pub struct KeyDefinition<'a> {
pub keycode: i32,
pub keysym: i32,
pub keystring: &'a str,
pub unused: i32,
}
Fields§
§keycode: i32
§keysym: i32
§keystring: &'a str
§unused: i32
Trait Implementations§
source§impl<'a> Clone for KeyDefinition<'a>
impl<'a> Clone for KeyDefinition<'a>
source§fn clone(&self) -> KeyDefinition<'a>
fn clone(&self) -> KeyDefinition<'a>
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<'a> Debug for KeyDefinition<'a>
impl<'a> Debug for KeyDefinition<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for KeyDefinition<'a>
impl<'de: 'a, 'a> Deserialize<'de> for KeyDefinition<'a>
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<'a> PartialEq for KeyDefinition<'a>
impl<'a> PartialEq for KeyDefinition<'a>
source§fn eq(&self, other: &KeyDefinition<'a>) -> bool
fn eq(&self, other: &KeyDefinition<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for KeyDefinition<'a>
impl<'a> Serialize for KeyDefinition<'a>
source§impl<'a> Type for KeyDefinition<'a>
impl<'a> Type for KeyDefinition<'a>
impl<'a> Copy for KeyDefinition<'a>
impl<'a> Eq for KeyDefinition<'a>
impl<'a> StructuralPartialEq for KeyDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeyDefinition<'a>
impl<'a> RefUnwindSafe for KeyDefinition<'a>
impl<'a> Send for KeyDefinition<'a>
impl<'a> Sync for KeyDefinition<'a>
impl<'a> Unpin for KeyDefinition<'a>
impl<'a> UnwindSafe for KeyDefinition<'a>
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