[][src]Enum gtk::CornerType

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

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


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


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


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

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.