#[non_exhaustive]#[repr(u32)]pub enum cef_text_field_commands_t {
CEF_TFC_CUT = 1,
CEF_TFC_COPY = 2,
CEF_TFC_PASTE = 3,
CEF_TFC_UNDO = 4,
CEF_TFC_DELETE = 5,
CEF_TFC_SELECT_ALL = 6,
}Expand description
Represents commands available to TextField.
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_CUT = 1
CEF_TFC_COPY = 2
CEF_TFC_PASTE = 3
CEF_TFC_UNDO = 4
CEF_TFC_DELETE = 5
CEF_TFC_SELECT_ALL = 6
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cef_text_field_commands_t
Source§impl Debug for cef_text_field_commands_t
impl Debug for cef_text_field_commands_t
impl Eq for cef_text_field_commands_t
Source§impl Hash for cef_text_field_commands_t
impl Hash for cef_text_field_commands_t
Source§impl PartialEq for cef_text_field_commands_t
impl PartialEq for cef_text_field_commands_t
Source§fn eq(&self, other: &cef_text_field_commands_t) -> bool
fn eq(&self, other: &cef_text_field_commands_t) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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