Struct rustcn_ui::SerializedKeyboardData 
source · pub struct SerializedKeyboardData { /* private fields */ }Expand description
A serialized version of KeyboardData
Implementations§
Trait Implementations§
source§impl Clone for SerializedKeyboardData
 
impl Clone for SerializedKeyboardData
source§fn clone(&self) -> SerializedKeyboardData
 
fn clone(&self) -> SerializedKeyboardData
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 SerializedKeyboardData
 
impl Debug for SerializedKeyboardData
source§impl<'de> Deserialize<'de> for SerializedKeyboardData
 
impl<'de> Deserialize<'de> for SerializedKeyboardData
source§fn deserialize<__D>(
    __deserializer: __D
) -> Result<SerializedKeyboardData, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<SerializedKeyboardData, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&KeyboardData> for SerializedKeyboardData
 
impl From<&KeyboardData> for SerializedKeyboardData
source§fn from(data: &KeyboardData) -> SerializedKeyboardData
 
fn from(data: &KeyboardData) -> SerializedKeyboardData
Converts to this type from the input type.
source§impl HasKeyboardData for SerializedKeyboardData
 
impl HasKeyboardData for SerializedKeyboardData
source§fn key(&self) -> Key
 
fn key(&self) -> Key
The value of the key pressed by the user, taking into consideration the state of modifier keys such as Shift as well as the keyboard locale and layout.
source§fn code(&self) -> Code
 
fn code(&self) -> Code
A physical key on the keyboard (as opposed to the character generated by pressing the key). In other words, this property returns a value that isn’t altered by keyboard layout or the state of the modifier keys.
source§fn is_auto_repeating(&self) -> bool
 
fn is_auto_repeating(&self) -> bool
true iff the key is being held down such that it is automatically repeating.source§fn is_composing(&self) -> bool
 
fn is_composing(&self) -> bool
Indicates whether the key is fired within a composition session.
source§impl PartialEq for SerializedKeyboardData
 
impl PartialEq for SerializedKeyboardData
source§fn eq(&self, other: &SerializedKeyboardData) -> bool
 
fn eq(&self, other: &SerializedKeyboardData) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for SerializedKeyboardData
 
impl Serialize for SerializedKeyboardData
source§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SerializedKeyboardData
Auto Trait Implementations§
impl RefUnwindSafe for SerializedKeyboardData
impl Send for SerializedKeyboardData
impl Sync for SerializedKeyboardData
impl Unpin for SerializedKeyboardData
impl UnwindSafe for SerializedKeyboardData
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<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
 
impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
source§fn super_from(input: T) -> O
 
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
 
impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
source§fn super_into(self) -> O
 
fn super_into(self) -> O
Convert from a type to another type.