pub struct Layout {Show 19 fields
pub header: Option<Header>,
pub hid_locale: Option<String>,
pub parent: Option<String>,
pub locale_notes: Vec<String>,
pub to_hid_locale: HashMap<String, String>,
pub from_hid_locale: HashMap<String, String>,
pub keyboard_notes: Vec<String>,
pub to_hid_keyboard: HashMap<String, String>,
pub from_hid_keyboard: HashMap<String, String>,
pub led_notes: Vec<String>,
pub to_hid_led: HashMap<String, String>,
pub from_hid_led: HashMap<String, String>,
pub sysctrl_notes: Vec<String>,
pub to_hid_sysctrl: HashMap<String, String>,
pub from_hid_sysctrl: HashMap<String, String>,
pub consumer_notes: Vec<String>,
pub to_hid_consumer: HashMap<String, String>,
pub from_hid_consumer: HashMap<String, String>,
pub composition: HashMap<String, Vec<Vec<String>>>,
}Fields§
§header: Option<Header>§hid_locale: Option<String>§parent: Option<String>§locale_notes: Vec<String>§to_hid_locale: HashMap<String, String>§from_hid_locale: HashMap<String, String>§keyboard_notes: Vec<String>§to_hid_keyboard: HashMap<String, String>§from_hid_keyboard: HashMap<String, String>§led_notes: Vec<String>§to_hid_led: HashMap<String, String>§from_hid_led: HashMap<String, String>§sysctrl_notes: Vec<String>§to_hid_sysctrl: HashMap<String, String>§from_hid_sysctrl: HashMap<String, String>§consumer_notes: Vec<String>§to_hid_consumer: HashMap<String, String>§from_hid_consumer: HashMap<String, String>§composition: HashMap<String, Vec<Vec<String>>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layout
impl<'de> Deserialize<'de> for Layout
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
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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