#[non_exhaustive]#[repr(u32)]pub enum cef_text_field_commands_t {
CEF_TFC_UNKNOWN = 0,
CEF_TFC_CUT = 1,
CEF_TFC_COPY = 2,
CEF_TFC_PASTE = 3,
CEF_TFC_SELECT_ALL = 4,
CEF_TFC_SELECT_WORD = 5,
CEF_TFC_UNDO = 6,
CEF_TFC_DELETE = 7,
CEF_TFC_NUM_VALUES = 8,
}Expand description
Represents commands available to TextField. Should be kept in sync with Chromium’s views::TextField::MenuCommands type.
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.
CEF_TFC_UNKNOWN = 0
CEF_TFC_CUT = 1
CEF_TFC_COPY = 2
CEF_TFC_PASTE = 3
CEF_TFC_SELECT_ALL = 4
CEF_TFC_SELECT_WORD = 5
CEF_TFC_UNDO = 6
CEF_TFC_DELETE = 7
CEF_TFC_NUM_VALUES = 8
Trait Implementations§
Source§impl Clone for cef_text_field_commands_t
impl Clone for cef_text_field_commands_t
Source§fn clone(&self) -> cef_text_field_commands_t
fn clone(&self) -> cef_text_field_commands_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§impl Debug for cef_text_field_commands_t
impl Debug for cef_text_field_commands_t
Source§impl Hash for cef_text_field_commands_t
impl Hash for cef_text_field_commands_t
impl Copy for cef_text_field_commands_t
impl Eq for cef_text_field_commands_t
impl StructuralPartialEq for cef_text_field_commands_t
Auto Trait Implementations§
impl Freeze for cef_text_field_commands_t
impl RefUnwindSafe for cef_text_field_commands_t
impl Send for cef_text_field_commands_t
impl Sync for cef_text_field_commands_t
impl Unpin for cef_text_field_commands_t
impl UnwindSafe for cef_text_field_commands_t
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