[][src]Enum gtk::ScrollablePolicy

#[non_exhaustive]pub enum ScrollablePolicy {
    Minimum,
    Natural,
    // some variants omitted
}

Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.

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

Scrollable adjustments are based on the minimum size

Natural

Scrollable adjustments are based on the natural size

Trait Implementations

impl Clone for ScrollablePolicy[src]

impl Copy for ScrollablePolicy[src]

impl Debug for ScrollablePolicy[src]

impl Display for ScrollablePolicy[src]

impl Eq for ScrollablePolicy[src]

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

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

impl Hash for ScrollablePolicy[src]

impl Ord for ScrollablePolicy[src]

impl PartialEq<ScrollablePolicy> for ScrollablePolicy[src]

impl PartialOrd<ScrollablePolicy> for ScrollablePolicy[src]

impl SetValue for ScrollablePolicy[src]

impl StaticType for ScrollablePolicy[src]

impl StructuralEq for ScrollablePolicy[src]

impl StructuralPartialEq for ScrollablePolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for ScrollablePolicy

impl Send for ScrollablePolicy

impl Sync for ScrollablePolicy

impl Unpin for ScrollablePolicy

impl UnwindSafe for ScrollablePolicy

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.