#[non_exhaustive]#[repr(u32)]pub enum cef_touch_handle_state_flags_t {
CEF_THS_FLAG_NONE = 0,
CEF_THS_FLAG_ENABLED = 1,
CEF_THS_FLAG_ORIENTATION = 2,
CEF_THS_FLAG_ORIGIN = 4,
CEF_THS_FLAG_ALPHA = 8,
}Expand description
Values indicating what state of the touch handle is set.
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_THS_FLAG_NONE = 0
CEF_THS_FLAG_ENABLED = 1
CEF_THS_FLAG_ORIENTATION = 2
CEF_THS_FLAG_ORIGIN = 4
CEF_THS_FLAG_ALPHA = 8
Trait Implementations§
Source§impl Clone for cef_touch_handle_state_flags_t
impl Clone for cef_touch_handle_state_flags_t
Source§fn clone(&self) -> cef_touch_handle_state_flags_t
fn clone(&self) -> cef_touch_handle_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§impl PartialEq for cef_touch_handle_state_flags_t
impl PartialEq for cef_touch_handle_state_flags_t
Source§fn eq(&self, other: &cef_touch_handle_state_flags_t) -> bool
fn eq(&self, other: &cef_touch_handle_state_flags_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cef_touch_handle_state_flags_t
impl Eq for cef_touch_handle_state_flags_t
impl StructuralPartialEq for cef_touch_handle_state_flags_t
Auto Trait Implementations§
impl Freeze for cef_touch_handle_state_flags_t
impl RefUnwindSafe for cef_touch_handle_state_flags_t
impl Send for cef_touch_handle_state_flags_t
impl Sync for cef_touch_handle_state_flags_t
impl Unpin for cef_touch_handle_state_flags_t
impl UnwindSafe for cef_touch_handle_state_flags_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