pub struct ChromeMouseWheelEvent {Show 15 fields
pub modifiers: u32,
pub position_in_widget_x: f32,
pub position_in_widget_y: f32,
pub position_in_screen_x: f32,
pub position_in_screen_y: f32,
pub movement_x: f32,
pub movement_y: f32,
pub is_raw_movement_event: bool,
pub delta_x: f32,
pub delta_y: f32,
pub wheel_ticks_x: f32,
pub wheel_ticks_y: f32,
pub phase: u32,
pub momentum_phase: u32,
pub delta_units: ChromeScrollGranularity,
}Expand description
Chromium-specific mouse wheel payload.
Includes wheel phase fields that are omitted from generic cbf input.
Fields§
§modifiers: u32§position_in_widget_x: f32§position_in_widget_y: f32§position_in_screen_x: f32§position_in_screen_y: f32§movement_x: f32§movement_y: f32§is_raw_movement_event: bool§delta_x: f32§delta_y: f32§wheel_ticks_x: f32§wheel_ticks_y: f32§phase: u32§momentum_phase: u32§delta_units: ChromeScrollGranularityTrait Implementations§
Source§impl Clone for ChromeMouseWheelEvent
impl Clone for ChromeMouseWheelEvent
Source§fn clone(&self) -> ChromeMouseWheelEvent
fn clone(&self) -> ChromeMouseWheelEvent
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 ChromeMouseWheelEvent
impl Debug for ChromeMouseWheelEvent
Source§impl From<ChromeMouseWheelEvent> for MouseWheelEvent
impl From<ChromeMouseWheelEvent> for MouseWheelEvent
Source§fn from(value: ChromeMouseWheelEvent) -> Self
fn from(value: ChromeMouseWheelEvent) -> Self
Converts to this type from the input type.
Source§impl From<MouseWheelEvent> for ChromeMouseWheelEvent
impl From<MouseWheelEvent> for ChromeMouseWheelEvent
Source§fn from(value: MouseWheelEvent) -> Self
fn from(value: MouseWheelEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChromeMouseWheelEvent
impl PartialEq for ChromeMouseWheelEvent
impl StructuralPartialEq for ChromeMouseWheelEvent
Auto Trait Implementations§
impl Freeze for ChromeMouseWheelEvent
impl RefUnwindSafe for ChromeMouseWheelEvent
impl Send for ChromeMouseWheelEvent
impl Sync for ChromeMouseWheelEvent
impl Unpin for ChromeMouseWheelEvent
impl UnsafeUnpin for ChromeMouseWheelEvent
impl UnwindSafe for ChromeMouseWheelEvent
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