pub enum KeyMove {
Points(Points),
Pages(f32),
Start,
End,
}Expand description
Where a scroll key moves along an axis.
Variants§
Points(Points)
By this far (positive: towards the end).
Pages(f32)
By this many viewports.
Start
To the start.
End
To the end.
Implementations§
Trait Implementations§
impl Copy for KeyMove
impl StructuralPartialEq for KeyMove
Auto Trait Implementations§
impl Forget for KeyMove
impl Freeze for KeyMove
impl Move for KeyMove
impl RefUnwindSafe for KeyMove
impl Send for KeyMove
impl Sync for KeyMove
impl Unpin for KeyMove
impl UnsafeUnpin for KeyMove
impl UnwindSafe for KeyMove
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