#[non_exhaustive]#[repr(u32)]pub enum cef_quick_menu_edit_state_flags_t {
QM_EDITFLAG_NONE = 0,
QM_EDITFLAG_CAN_ELLIPSIS = 1,
QM_EDITFLAG_CAN_CUT = 2,
QM_EDITFLAG_CAN_COPY = 4,
QM_EDITFLAG_CAN_PASTE = 8,
}Expand description
Supported quick menu state bit flags.
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.
QM_EDITFLAG_NONE = 0
QM_EDITFLAG_CAN_ELLIPSIS = 1
QM_EDITFLAG_CAN_CUT = 2
QM_EDITFLAG_CAN_COPY = 4
QM_EDITFLAG_CAN_PASTE = 8
Trait Implementations§
Source§fn clone(&self) -> cef_quick_menu_edit_state_flags_t
fn clone(&self) -> cef_quick_menu_edit_state_flags_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 moreSource§fn eq(&self, other: &cef_quick_menu_edit_state_flags_t) -> bool
fn eq(&self, other: &cef_quick_menu_edit_state_flags_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto 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