Enum ux::ScrollPolicy[][src]

pub enum ScrollPolicy {
    None,
    Horizontal,
    Vertical,
    Both,
    Automatic,
}

ScrollPolicy: None: Never scroll Horizontal: Only allow horizontal scrolling Vertical: Only allow vertical scrolling Both: Allow scrolling both horizontally and vertically Automatic: Automatically align scroll to horizontal or vertical direction or both depending on the drag angle.

Defines the scrolling policy of scrollable widgets.

Variants

None
Horizontal
Vertical
Both
Automatic

Trait Implementations

impl Clone for ScrollPolicy[src]

impl Copy for ScrollPolicy[src]

impl Debug for ScrollPolicy[src]

impl Eq for ScrollPolicy[src]

impl PartialEq<ScrollPolicy> for ScrollPolicy[src]

impl StructuralEq for ScrollPolicy[src]

impl StructuralPartialEq for ScrollPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,