Enum imgui::ColorEditDisplayMode[][src]

pub enum ColorEditDisplayMode {
    Rgb,
    Hsv,
    Hex,
}

Color editor display mode.

Variants

Rgb

Display as RGB(A).

Hsv

Display as HSV(A).

Hex

Display as hex (e.g. #AABBCC(DD))

Implementations

impl ColorEditDisplayMode[src]

pub const RGB: Self[src]

Display as RGB(A). Alias for Self::Rgb for backwards-compatibility.

pub const HSV: Self[src]

Display as HSV(A). Alias for Self::Hsv for backwards-compatibility.

pub const HEX: Self[src]

Display as hex. Alias for Self::Hex for backwards-compatibility.

Trait Implementations

impl Clone for ColorEditDisplayMode[src]

impl Copy for ColorEditDisplayMode[src]

impl Debug for ColorEditDisplayMode[src]

impl Eq for ColorEditDisplayMode[src]

impl PartialEq<ColorEditDisplayMode> for ColorEditDisplayMode[src]

impl StructuralEq for ColorEditDisplayMode[src]

impl StructuralPartialEq for ColorEditDisplayMode[src]

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.