pub struct MenuData {
pub title: String,
pub entries: Vec<MenuEntry>,
}Expand description
A menu of the bar, or a submenu.
Fields§
§title: String§entries: Vec<MenuEntry>Implementations§
Trait Implementations§
impl StructuralPartialEq for MenuData
Auto Trait Implementations§
impl Forget for MenuData
impl Freeze for MenuData
impl Move for MenuData
impl RefUnwindSafe for MenuData
impl Send for MenuDatawhere
RawVecInner: Send,
impl Sync for MenuDatawhere
RawVecInner: Sync,
impl Unpin for MenuData
impl UnsafeUnpin for MenuDatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MenuEntry>: UnsafeUnpin,
impl UnwindSafe for MenuDatawhere
RawVecInner: 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