pub struct WheelEvent {
pub position: PointF,
pub delta: PointF,
pub modifiers: Modifiers,
pub touch: bool,
pub lines: bool,
}Expand description
Roda do mouse ou rolagem do touchpad.
Fields§
§position: PointF§delta: PointFDeslocamento em unidades lógicas.
modifiers: Modifiers§touch: boolVeio de um dedo arrastando (ou da inércia depois dele): o conteúdo deve acompanhar o dedo 1:1, sem a aceleração da roda do mouse.
lines: boolVeio de uma roda com dentes: cada dente já vem com o passo do app
(ScrollOptions::wheel_step) em delta.
Trait Implementations§
Source§impl Clone for WheelEvent
impl Clone for WheelEvent
impl Copy for WheelEvent
Source§impl Debug for WheelEvent
impl Debug for WheelEvent
Source§impl Default for WheelEvent
impl Default for WheelEvent
Source§impl EventValue for WheelEvent
impl EventValue for WheelEvent
Source§impl PartialEq for WheelEvent
impl PartialEq for WheelEvent
impl StructuralPartialEq for WheelEvent
Auto Trait Implementations§
impl Forget for WheelEvent
impl Freeze for WheelEvent
impl Move for WheelEvent
impl RefUnwindSafe for WheelEvent
impl Send for WheelEvent
impl Sync for WheelEvent
impl Unpin for WheelEvent
impl UnsafeUnpin for WheelEvent
impl UnwindSafe for WheelEvent
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