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 Freeze for MenuData
impl RefUnwindSafe for MenuData
impl Send for MenuData
impl Sync for MenuData
impl Unpin for MenuData
impl UnsafeUnpin for MenuData
impl UnwindSafe for MenuData
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