pub enum ScrollUnit {
Pixel,
Line,
}
Variants§
Trait Implementations§
Source§impl Clone for ScrollUnit
impl Clone for ScrollUnit
Source§fn clone(&self) -> ScrollUnit
fn clone(&self) -> ScrollUnit
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 ScrollUnit
impl Debug for ScrollUnit
impl Copy for ScrollUnit
Auto Trait Implementations§
impl Freeze for ScrollUnit
impl RefUnwindSafe for ScrollUnit
impl Send for ScrollUnit
impl Sync for ScrollUnit
impl Unpin for ScrollUnit
impl UnwindSafe for ScrollUnit
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