[][src]Enum gtk::TreeViewColumnSizing

#[non_exhaustive]pub enum TreeViewColumnSizing {
    GrowOnly,
    Autosize,
    Fixed,
    // some variants omitted
}

The sizing method the column uses to determine its width. Please note that TreeViewColumnSizing::Autosize are inefficient for large views, and can make columns appear choppy.

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

Columns only get bigger in reaction to changes in the model

Autosize

Columns resize to be the optimal size everytime the model changes.

Fixed

Columns are a fixed numbers of pixels wide.

Trait Implementations

impl Clone for TreeViewColumnSizing[src]

impl Copy for TreeViewColumnSizing[src]

impl Debug for TreeViewColumnSizing[src]

impl Display for TreeViewColumnSizing[src]

impl Eq for TreeViewColumnSizing[src]

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

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

impl Hash for TreeViewColumnSizing[src]

impl Ord for TreeViewColumnSizing[src]

impl PartialEq<TreeViewColumnSizing> for TreeViewColumnSizing[src]

impl PartialOrd<TreeViewColumnSizing> for TreeViewColumnSizing[src]

impl SetValue for TreeViewColumnSizing[src]

impl StaticType for TreeViewColumnSizing[src]

impl StructuralEq for TreeViewColumnSizing[src]

impl StructuralPartialEq for TreeViewColumnSizing[src]

Auto Trait Implementations

impl RefUnwindSafe for TreeViewColumnSizing

impl Send for TreeViewColumnSizing

impl Sync for TreeViewColumnSizing

impl Unpin for TreeViewColumnSizing

impl UnwindSafe for TreeViewColumnSizing

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.