pub struct LayoutPickerView {
pub title: String,
pub layouts: Vec<LayoutView>,
pub help: String,
}Expand description
The whole screen, as it is this frame.
Fields§
§title: StringThe screen’s title.
layouts: Vec<LayoutView>One entry per layout, in the order they are offered.
help: StringThe help line: what the keys do here.
Implementations§
Source§impl LayoutPickerView
impl LayoutPickerView
Sourcepub fn focused(&self) -> Option<&LayoutView>
pub fn focused(&self) -> Option<&LayoutView>
The layout the cursor is on.
Trait Implementations§
Source§impl Clone for LayoutPickerView
impl Clone for LayoutPickerView
Source§fn clone(&self) -> LayoutPickerView
fn clone(&self) -> LayoutPickerView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutPickerView
impl Debug for LayoutPickerView
impl Eq for LayoutPickerView
Source§impl PartialEq for LayoutPickerView
impl PartialEq for LayoutPickerView
impl StructuralPartialEq for LayoutPickerView
Auto Trait Implementations§
impl Freeze for LayoutPickerView
impl RefUnwindSafe for LayoutPickerView
impl Send for LayoutPickerView
impl Sync for LayoutPickerView
impl Unpin for LayoutPickerView
impl UnsafeUnpin for LayoutPickerView
impl UnwindSafe for LayoutPickerView
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