[][src]Enum gtk::ScrollType

#[non_exhaustive]pub enum ScrollType {
    None,
    Jump,
    StepBackward,
    StepForward,
    PageBackward,
    PageForward,
    StepUp,
    StepDown,
    PageUp,
    PageDown,
    StepLeft,
    StepRight,
    PageLeft,
    PageRight,
    Start,
    End,
    // some variants omitted
}

Scrolling types.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

No scrolling.

Jump

Jump to new location.

StepBackward

Step backward.

StepForward

Step forward.

PageBackward

Page backward.

PageForward

Page forward.

StepUp

Step up.

StepDown

Step down.

PageUp

Page up.

PageDown

Page down.

StepLeft

Step to the left.

StepRight

Step to the right.

PageLeft

Page to the left.

PageRight

Page to the right.

Start

Scroll to start.

End

Scroll to end.

Trait Implementations

impl Clone for ScrollType[src]

impl Copy for ScrollType[src]

impl Debug for ScrollType[src]

impl Display for ScrollType[src]

impl Eq for ScrollType[src]

impl<'a> FromValue<'a> for ScrollType[src]

impl<'a> FromValueOptional<'a> for ScrollType[src]

impl Hash for ScrollType[src]

impl Ord for ScrollType[src]

impl PartialEq<ScrollType> for ScrollType[src]

impl PartialOrd<ScrollType> for ScrollType[src]

impl SetValue for ScrollType[src]

impl StaticType for ScrollType[src]

impl StructuralEq for ScrollType[src]

impl StructuralPartialEq for ScrollType[src]

Auto Trait Implementations

impl RefUnwindSafe for ScrollType

impl Send for ScrollType

impl Sync for ScrollType

impl Unpin for ScrollType

impl UnwindSafe for ScrollType

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.