pub enum MenuType {
Separator,
Standard,
}
Variants§
Separator
a separator
Standard
an item which can be clicked to trigger an action or show another menu
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MenuType
impl<'de> Deserialize<'de> for MenuType
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
impl Copy for MenuType
impl Eq for MenuType
impl StructuralPartialEq for MenuType
Auto Trait Implementations§
impl Freeze for MenuType
impl RefUnwindSafe for MenuType
impl Send for MenuType
impl Sync for MenuType
impl Unpin for MenuType
impl UnwindSafe for MenuType
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