pub enum ScrollAxes {
Both,
X,
Y,
}Expand description
Which axes an on_scroll node takes, spelled by the scrollAxes row.
Variants§
Both
Both: the node hears every scroll gesture that starts over it.
X
Only sideways; a vertical gesture passes it by.
Y
Only vertical; a sideways gesture passes it by — a terminal’s history, a log.
Implementations§
Trait Implementations§
Source§impl Clone for ScrollAxes
impl Clone for ScrollAxes
impl Copy for ScrollAxes
Source§impl Debug for ScrollAxes
impl Debug for ScrollAxes
Source§impl Default for ScrollAxes
impl Default for ScrollAxes
impl Eq for ScrollAxes
Source§impl PartialEq for ScrollAxes
impl PartialEq for ScrollAxes
impl StructuralPartialEq for ScrollAxes
Auto Trait Implementations§
impl Freeze for ScrollAxes
impl RefUnwindSafe for ScrollAxes
impl Send for ScrollAxes
impl Sync for ScrollAxes
impl Unpin for ScrollAxes
impl UnsafeUnpin for ScrollAxes
impl UnwindSafe for ScrollAxes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.