Enum gpui2::ScrollDelta
source · pub enum ScrollDelta {
Pixels(Point<Pixels>),
Lines(Point<f32>),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ScrollDelta
impl Clone for ScrollDelta
source§fn clone(&self) -> ScrollDelta
fn clone(&self) -> ScrollDelta
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 ScrollDelta
impl Debug for ScrollDelta
source§impl Default for ScrollDelta
impl Default for ScrollDelta
impl Copy for ScrollDelta
Auto Trait Implementations§
impl RefUnwindSafe for ScrollDelta
impl Send for ScrollDelta
impl Sync for ScrollDelta
impl Unpin for ScrollDelta
impl UnwindSafe for ScrollDelta
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