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
sourceimpl<'de> Deserialize<'de> for Layout
impl<'de> Deserialize<'de> for Layout
sourcefn 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 RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more