pub enum AxCause {
WheelEventNotDelivered,
ExplicitAxTier,
}Expand description
Why the AX scroll-bar path is running.
This decides the warning. Naming the cause keeps the response honest: a
caller who asked for --tier ax never posted a wheel event, so the
“wheel event not delivered” note would be false for them.
Variants§
WheelEventNotDelivered
A wheel event was posted first and did not move the bar.
ExplicitAxTier
The caller named --tier ax, so the scroll bar was the plan all along.
Implementations§
Trait Implementations§
impl Copy for AxCause
impl Eq for AxCause
impl StructuralPartialEq for AxCause
Auto Trait Implementations§
impl Freeze for AxCause
impl RefUnwindSafe for AxCause
impl Send for AxCause
impl Sync for AxCause
impl Unpin for AxCause
impl UnsafeUnpin for AxCause
impl UnwindSafe for AxCause
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.