pub struct GroupView<A> {
pub heading: String,
pub required: bool,
pub rows: Vec<RowView<A>>,
}Expand description
A heading and the actions under it.
Fields§
§heading: StringWhat the group is.
required: boolWhether these are the required actions (each must have a key or a button before the screen can be left).
rows: Vec<RowView<A>>Its actions, top to bottom.
Trait Implementations§
impl<A: Eq> Eq for GroupView<A>
impl<A: PartialEq> StructuralPartialEq for GroupView<A>
Auto Trait Implementations§
impl<A> Freeze for GroupView<A>
impl<A> RefUnwindSafe for GroupView<A>where
A: RefUnwindSafe,
impl<A> Send for GroupView<A>where
A: Send,
impl<A> Sync for GroupView<A>where
A: Sync,
impl<A> Unpin for GroupView<A>where
A: Unpin,
impl<A> UnsafeUnpin for GroupView<A>
impl<A> UnwindSafe for GroupView<A>where
A: UnwindSafe,
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