pub struct MenuBar {
pub menus: Vec<Menu<Block>>,
pub locals: Vec<Type>,
}Expand description
The app’s menus, in order, whose items’ actions share one frame of locals.
Fields§
§locals: Vec<Type>The type of every local, by id.
Trait Implementations§
Auto Trait Implementations§
impl !Send for MenuBar
impl !Sync for MenuBar
impl Freeze for MenuBar
impl RefUnwindSafe for MenuBar
impl Unpin for MenuBar
impl UnsafeUnpin for MenuBar
impl UnwindSafe for MenuBar
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