[][src]Enum gtk::ButtonRole

#[non_exhaustive]pub enum ButtonRole {
    Normal,
    Check,
    Radio,
    // some variants omitted
}

The role specifies the desired appearance of a ModelButton.

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

A plain button

Check

A check button

Radio

A radio button

Feature: v3_16

Trait Implementations

impl Clone for ButtonRole[src]

impl Copy for ButtonRole[src]

impl Debug for ButtonRole[src]

impl Display for ButtonRole[src]

impl Eq for ButtonRole[src]

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

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

impl Hash for ButtonRole[src]

impl Ord for ButtonRole[src]

impl PartialEq<ButtonRole> for ButtonRole[src]

impl PartialOrd<ButtonRole> for ButtonRole[src]

impl SetValue for ButtonRole[src]

impl StaticType for ButtonRole[src]

impl StructuralEq for ButtonRole[src]

impl StructuralPartialEq for ButtonRole[src]

Auto Trait Implementations

impl RefUnwindSafe for ButtonRole

impl Send for ButtonRole

impl Sync for ButtonRole

impl Unpin for ButtonRole

impl UnwindSafe for ButtonRole

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.