#[repr(C)]pub struct _cef_touch_handle_state_t {
pub size: usize,
pub touch_handle_id: c_int,
pub flags: u32,
pub enabled: c_int,
pub orientation: cef_horizontal_alignment_t,
pub mirror_vertical: c_int,
pub mirror_horizontal: c_int,
pub origin: cef_point_t,
pub alpha: f32,
}Fields§
§size: usizeSize of this structure.
touch_handle_id: c_intTouch handle id. Increments for each new touch handle.
flags: u32Combination of cef_touch_handle_state_flags_t values indicating what state is set.
enabled: c_intEnabled state. Only set if |flags| contains CEF_THS_FLAG_ENABLED.
orientation: cef_horizontal_alignment_tOrientation state. Only set if |flags| contains CEF_THS_FLAG_ORIENTATION.
mirror_vertical: c_int§mirror_horizontal: c_int§origin: cef_point_tOrigin state. Only set if |flags| contains CEF_THS_FLAG_ORIGIN.
alpha: f32Alpha state. Only set if |flags| contains CEF_THS_FLAG_ALPHA.
Trait Implementations§
Source§impl Clone for _cef_touch_handle_state_t
impl Clone for _cef_touch_handle_state_t
Source§fn clone(&self) -> _cef_touch_handle_state_t
fn clone(&self) -> _cef_touch_handle_state_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_touch_handle_state_t
impl Debug for _cef_touch_handle_state_t
impl Copy for _cef_touch_handle_state_t
Auto Trait Implementations§
impl Freeze for _cef_touch_handle_state_t
impl RefUnwindSafe for _cef_touch_handle_state_t
impl Send for _cef_touch_handle_state_t
impl Sync for _cef_touch_handle_state_t
impl Unpin for _cef_touch_handle_state_t
impl UnwindSafe for _cef_touch_handle_state_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