Struct pax_runtime_api::Wheel
source · pub struct Wheel {
pub x: f64,
pub y: f64,
pub delta_x: f64,
pub delta_y: f64,
pub modifiers: Vec<ModifierKey>,
}
Expand description
User scrolls the mouse wheel over an element.
Fields§
§x: f64
§y: f64
§delta_x: f64
§delta_y: f64
§modifiers: Vec<ModifierKey>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wheel
impl RefUnwindSafe for Wheel
impl Send for Wheel
impl Sync for Wheel
impl Unpin for Wheel
impl UnwindSafe for Wheel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.