Struct gpui2::ScrollWheelEvent
source · pub struct ScrollWheelEvent {
pub position: Point<Pixels>,
pub delta: ScrollDelta,
pub modifiers: Modifiers,
pub touch_phase: TouchPhase,
}
Fields§
§position: Point<Pixels>
§delta: ScrollDelta
§modifiers: Modifiers
§touch_phase: TouchPhase
Methods from Deref<Target = Modifiers>§
Trait Implementations§
source§impl Clone for ScrollWheelEvent
impl Clone for ScrollWheelEvent
source§fn clone(&self) -> ScrollWheelEvent
fn clone(&self) -> ScrollWheelEvent
Returns a copy 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 ScrollWheelEvent
impl Debug for ScrollWheelEvent
Auto Trait Implementations§
impl RefUnwindSafe for ScrollWheelEvent
impl Send for ScrollWheelEvent
impl Sync for ScrollWheelEvent
impl Unpin for ScrollWheelEvent
impl UnwindSafe for ScrollWheelEvent
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