[][src]Enum gtk::SpinType

#[non_exhaustive]pub enum SpinType {
    StepForward,
    StepBackward,
    PageForward,
    PageBackward,
    Home,
    End,
    UserDefined,
    // some variants omitted
}

The values of the SpinType enumeration are used to specify the change to make in SpinButtonExt::spin.

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.
StepForward

Increment by the adjustments step increment.

StepBackward

Decrement by the adjustments step increment.

PageForward

Increment by the adjustments page increment.

PageBackward

Decrement by the adjustments page increment.

Home

Go to the adjustments lower bound.

End

Go to the adjustments upper bound.

UserDefined

Change by a specified amount.

Trait Implementations

impl Clone for SpinType[src]

impl Copy for SpinType[src]

impl Debug for SpinType[src]

impl Display for SpinType[src]

impl Eq for SpinType[src]

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

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

impl Hash for SpinType[src]

impl Ord for SpinType[src]

impl PartialEq<SpinType> for SpinType[src]

impl PartialOrd<SpinType> for SpinType[src]

impl SetValue for SpinType[src]

impl StaticType for SpinType[src]

impl StructuralEq for SpinType[src]

impl StructuralPartialEq for SpinType[src]

Auto Trait Implementations

impl RefUnwindSafe for SpinType

impl Send for SpinType

impl Sync for SpinType

impl Unpin for SpinType

impl UnwindSafe for SpinType

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.