[][src]Enum gtk::CornerType

#[non_exhaustive]pub enum CornerType {
    TopLeft,
    BottomLeft,
    TopRight,
    BottomRight,
    // some variants omitted
}

Specifies which corner a child widget should be placed in when packed into a ScrolledWindow. This is effectively the opposite of where the scroll bars are placed.

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

Place the scrollbars on the right and bottom of the widget (default behaviour).

BottomLeft

Place the scrollbars on the top and right of the widget.

TopRight

Place the scrollbars on the left and bottom of the widget.

BottomRight

Place the scrollbars on the top and left of the widget.

Trait Implementations

impl Clone for CornerType[src]

impl Copy for CornerType[src]

impl Debug for CornerType[src]

impl Display for CornerType[src]

impl Eq for CornerType[src]

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

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

impl Hash for CornerType[src]

impl Ord for CornerType[src]

impl PartialEq<CornerType> for CornerType[src]

impl PartialOrd<CornerType> for CornerType[src]

impl SetValue for CornerType[src]

impl StaticType for CornerType[src]

impl StructuralEq for CornerType[src]

impl StructuralPartialEq for CornerType[src]

Auto Trait Implementations

impl RefUnwindSafe for CornerType

impl Send for CornerType

impl Sync for CornerType

impl Unpin for CornerType

impl UnwindSafe for CornerType

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.