[][src]Enum gio::EmblemOrigin

#[non_exhaustive]pub enum EmblemOrigin {
    Unknown,
    Device,
    Livemetadata,
    Tag,
    // some variants omitted
}

GEmblemOrigin is used to add information about the origin of the emblem to Emblem.

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

Emblem of unknown origin

Device

Emblem adds device-specific information

Livemetadata

Emblem depicts live metadata, such as "readonly"

Tag

Emblem comes from a user-defined tag, e.g. set by nautilus (in the future)

Trait Implementations

impl Clone for EmblemOrigin[src]

impl Copy for EmblemOrigin[src]

impl Debug for EmblemOrigin[src]

impl Display for EmblemOrigin[src]

impl Eq for EmblemOrigin[src]

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

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

impl Hash for EmblemOrigin[src]

impl Ord for EmblemOrigin[src]

impl PartialEq<EmblemOrigin> for EmblemOrigin[src]

impl PartialOrd<EmblemOrigin> for EmblemOrigin[src]

impl SetValue for EmblemOrigin[src]

impl StaticType for EmblemOrigin[src]

impl StructuralEq for EmblemOrigin[src]

impl StructuralPartialEq for EmblemOrigin[src]

Auto Trait Implementations

impl RefUnwindSafe for EmblemOrigin

impl Send for EmblemOrigin

impl Sync for EmblemOrigin

impl Unpin for EmblemOrigin

impl UnwindSafe for EmblemOrigin

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.