pub struct LayoutParseData {
pub views: HashMap<String, (Point, View)>,
pub keymaps: Vec<CString>,
pub margins: Margins,
}Expand description
A builder structure for picking up layout data from storage
Fields§
§views: HashMap<String, (Point, View)>Point is the offset within the panel (transformed to layout’s coordinate space).
keymaps: Vec<CString>xkb keymaps applicable to the contained keys
margins: MarginsAuto Trait Implementations§
impl Freeze for LayoutParseData
impl RefUnwindSafe for LayoutParseData
impl Send for LayoutParseData
impl Sync for LayoutParseData
impl Unpin for LayoutParseData
impl UnwindSafe for LayoutParseData
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