[][src]Enum gtk::License

#[non_exhaustive]pub enum License {
    Unknown,
    Custom,
    Gpl20,
    Gpl30,
    Lgpl21,
    Lgpl30,
    Bsd,
    MitX11,
    Artistic,
    Gpl20Only,
    Gpl30Only,
    Lgpl21Only,
    Lgpl30Only,
    Agpl30,
    Agpl30Only,
    // some variants omitted
}

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.
Unknown
Custom
Gpl20
Gpl30
Lgpl21
Lgpl30
Bsd
MitX11
Artistic
Gpl20Only
Gpl30Only
Lgpl21Only
Lgpl30Only
Agpl30
Agpl30Only

Trait Implementations

impl Clone for License[src]

impl Copy for License[src]

impl Debug for License[src]

impl Display for License[src]

impl Eq for License[src]

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

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

impl Hash for License[src]

impl Ord for License[src]

impl PartialEq<License> for License[src]

impl PartialOrd<License> for License[src]

impl SetValue for License[src]

impl StaticType for License[src]

impl StructuralEq for License[src]

impl StructuralPartialEq for License[src]

Auto Trait Implementations

impl RefUnwindSafe for License

impl Send for License

impl Sync for License

impl Unpin for License

impl UnwindSafe for License

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
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.