[][src]Struct weldr::ColourCmd

pub struct ColourCmd {
    pub name: String,
    pub code: u32,
    pub value: Color,
    pub edge: Color,
    pub alpha: Option<u8>,
    pub luminance: Option<u8>,
    pub finish: Option<ColorFinish>,
}

Fields

name: String

Name of the color.

code: u32

Color code uniquely identifying this color. Codes 16 and 24 are reserved.

value: Color

Primary value of the color.

edge: Color

Contrasting edge value of the color.

alpha: Option<u8>

Optional alpha (opacity) value.

luminance: Option<u8>finish: Option<ColorFinish>

Finish/texture of the object for high-fidelity rendering.

Trait Implementations

impl Debug for ColourCmd[src]

impl PartialEq<ColourCmd> for ColourCmd[src]

impl StructuralPartialEq for ColourCmd[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, 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.