[]Enum implot::Condition

#[repr(i8)]pub enum Condition {
    Never,
    Always,
    Once,
    FirstUseEver,
    Appearing,
}

Condition for applying a setting

Variants

Never

Never apply the setting

Always

Always apply the setting

Once

Apply the setting once per runtime session (only the first call will succeed)

FirstUseEver

Apply the setting if the object/window has no persistently saved data (no entry in .ini file)

Appearing

Apply the setting if the object/window is appearing after being hidden/inactive (or the first time)

Trait Implementations

impl Clone for Condition

impl Copy for Condition

impl Debug for Condition

impl Eq for Condition

impl PartialEq<Condition> for Condition

impl StructuralEq for Condition

impl StructuralPartialEq for Condition

Auto Trait Implementations

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