Struct dacite::core::ComponentMapping [] [src]

pub struct ComponentMapping {
    pub r: ComponentSwizzle,
    pub g: ComponentSwizzle,
    pub b: ComponentSwizzle,
    pub a: ComponentSwizzle,
}

Fields

Methods

impl ComponentMapping
[src]

Creates a ComponentMapping with all components initialized to ComponentSwizzle::Identity.

Trait Implementations

impl Debug for ComponentMapping
[src]

Formats the value using the given formatter.

impl Copy for ComponentMapping
[src]

impl Clone for ComponentMapping
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ComponentMapping
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ComponentMapping
[src]

impl Hash for ComponentMapping
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more