pub struct MenuBar<L: Logic> {
pub menus: Vec<Menu<L::Action>>,
pub frame: L::Frame,
}Expand description
The app’s menus, whose items run their actions with frame as their locals.
Fields§
§frame: L::FrameTrait Implementations§
Auto Trait Implementations§
impl<L> Freeze for MenuBar<L>
impl<L> RefUnwindSafe for MenuBar<L>
impl<L> Send for MenuBar<L>
impl<L> Sync for MenuBar<L>
impl<L> Unpin for MenuBar<L>
impl<L> UnsafeUnpin for MenuBar<L>
impl<L> UnwindSafe for MenuBar<L>
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