[][src]Enum gtk::SpinType

#[non_exhaustive]pub enum SpinType {
    // 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.

Increment by the adjustments step increment.


Decrement by the adjustments step increment.


Increment by the adjustments page increment.


Decrement by the adjustments page increment.


Go to the adjustments lower bound.


Go to the adjustments upper bound.


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.