pub struct Menu<I> {
pub state: MenuState<I>,
/* private fields */
}Fields§
§state: MenuState<I>Implementations§
Source§impl Menu<Action>
impl Menu<Action>
pub fn add_action(&mut self, action: Action)
pub fn with_all_jobs(mission: &Mission<'_>) -> Self
pub fn from_definition(_: ActionMenuDefinition, settings: &Settings) -> Self
Auto Trait Implementations§
impl<I> Freeze for Menu<I>
impl<I> RefUnwindSafe for Menu<I>where
I: RefUnwindSafe,
impl<I> Send for Menu<I>where
I: Send,
impl<I> Sync for Menu<I>where
I: Sync,
impl<I> Unpin for Menu<I>where
I: Unpin,
impl<I> UnwindSafe for Menu<I>where
I: 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