pub struct Layout {
margins: Margins,
views: HashMap<String, Vec<String>>,
buttons: HashMap<String, ButtonMeta>,
outlines: HashMap<String, Outline>,
}
Expand description
The root element describing an entire keyboard
Fields§
§margins: Margins
§views: HashMap<String, Vec<String>>
§outlines: HashMap<String, Outline>
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
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin 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