#[non_exhaustive]pub struct KeyboardInfo {
pub function_keys: Option<i64>,
pub ime: Option<String>,
pub keyboard_layout: Option<String>,
pub keyboard_subtype: Option<i64>,
pub keyboard_type: Option<String>,
}Expand description
Keyboard Information
The Keyboard Information object contains details and attributes related to a computer or device keyboard. It encompasses information that describes the characteristics, capabilities, and configuration of the keyboard.
[] Category: | Name: keyboard_info
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.function_keys: Option<i64>Function Keys
The number of function keys on client keyboard.
optional
ime: Option<String>IME
The Input Method Editor (IME) file name.
optional
keyboard_layout: Option<String>Keyboard Layout
The keyboard locale identifier name (e.g., en-US).
optional
keyboard_subtype: Option<i64>Keyboard Subtype
The keyboard numeric code.
optional
keyboard_type: Option<String>Keyboard Type
The keyboard type (e.g., xt, ico).
optional
Trait Implementations§
Source§impl Clone for KeyboardInfo
impl Clone for KeyboardInfo
Source§fn clone(&self) -> KeyboardInfo
fn clone(&self) -> KeyboardInfo
Returns a duplicate 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 KeyboardInfo
impl Debug for KeyboardInfo
Source§impl Default for KeyboardInfo
impl Default for KeyboardInfo
Source§fn default() -> KeyboardInfo
fn default() -> KeyboardInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyboardInfowhere
KeyboardInfo: Default,
impl<'de> Deserialize<'de> for KeyboardInfowhere
KeyboardInfo: Default,
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 KeyboardInfo
impl PartialEq for KeyboardInfo
Source§impl Serialize for KeyboardInfo
impl Serialize for KeyboardInfo
impl StructuralPartialEq for KeyboardInfo
Auto Trait Implementations§
impl Freeze for KeyboardInfo
impl RefUnwindSafe for KeyboardInfo
impl Send for KeyboardInfo
impl Sync for KeyboardInfo
impl Unpin for KeyboardInfo
impl UnwindSafe for KeyboardInfo
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