#[non_exhaustive]#[repr(u32)]pub enum cef_menu_item_type_t {
MENUITEMTYPE_NONE = 0,
MENUITEMTYPE_COMMAND = 1,
MENUITEMTYPE_CHECK = 2,
MENUITEMTYPE_RADIO = 3,
MENUITEMTYPE_SEPARATOR = 4,
MENUITEMTYPE_SUBMENU = 5,
}Expand description
Supported menu item types.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MENUITEMTYPE_NONE = 0
MENUITEMTYPE_COMMAND = 1
MENUITEMTYPE_CHECK = 2
MENUITEMTYPE_RADIO = 3
MENUITEMTYPE_SEPARATOR = 4
MENUITEMTYPE_SUBMENU = 5
Trait Implementations§
Source§fn clone(&self) -> cef_menu_item_type_t
fn clone(&self) -> cef_menu_item_type_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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