Struct sierra::ComponentMapping
source · Expand description
Defines remapping of color components.
Fields§
§r: Swizzle
Mapping of R component
g: Swizzle
Mapping of G component
b: Swizzle
Mapping of B component
a: Swizzle
Mapping of A component
Trait Implementations§
source§impl Clone for ComponentMapping
impl Clone for ComponentMapping
source§fn clone(&self) -> ComponentMapping
fn clone(&self) -> ComponentMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComponentMapping
impl Debug for ComponentMapping
source§impl Default for ComponentMapping
impl Default for ComponentMapping
source§fn default() -> ComponentMapping
fn default() -> ComponentMapping
Returns the “default value” for a type. Read more
source§impl Hash for ComponentMapping
impl Hash for ComponentMapping
source§impl PartialEq<ComponentMapping> for ComponentMapping
impl PartialEq<ComponentMapping> for ComponentMapping
source§fn eq(&self, other: &ComponentMapping) -> bool
fn eq(&self, other: &ComponentMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.