pub enum Decision {
Event {
before: f64,
after: f64,
},
AxScrollbar {
before: f64,
next: f64,
},
AtLimit {
value: f64,
},
Unverifiable,
}Expand description
What comparing the bar before and after the wheel event means.
Variants§
Event
The wheel event moved the bar. before and after are its values.
AxScrollbar
The bar did not move and is not at its limit: write AXValue.
AtLimit
The bar did not move because it is already at its limit.
Unverifiable
No scroll bar could be read, so nothing was verified.
Trait Implementations§
impl Copy for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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