pub struct DesktopMenu {
pub id: String,
pub label: String,
pub items: Vec<DesktopMenuItem>,
}Expand description
Native menu descriptor.
Fields§
§id: StringStable menu identifier.
label: StringVisible menu label.
items: Vec<DesktopMenuItem>Child menu items.
Trait Implementations§
Source§impl Clone for DesktopMenu
impl Clone for DesktopMenu
Source§impl Debug for DesktopMenu
impl Debug for DesktopMenu
Source§impl<'de> Deserialize<'de> for DesktopMenu
impl<'de> Deserialize<'de> for DesktopMenu
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DesktopMenu
impl RefUnwindSafe for DesktopMenu
impl Send for DesktopMenu
impl Sync for DesktopMenu
impl Unpin for DesktopMenu
impl UnsafeUnpin for DesktopMenu
impl UnwindSafe for DesktopMenu
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