Struct sonogram::RGBAColour
source · Expand description
Colours required for a PNG file, includes the alpha channel.
Fields§
§r: u8
§g: u8
§b: u8
§a: u8
Implementations§
Trait Implementations§
source§impl Clone for RGBAColour
impl Clone for RGBAColour
source§fn clone(&self) -> RGBAColour
fn clone(&self) -> RGBAColour
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 RGBAColour
impl Debug for RGBAColour
source§impl PartialEq<RGBAColour> for RGBAColour
impl PartialEq<RGBAColour> for RGBAColour
source§fn eq(&self, other: &RGBAColour) -> bool
fn eq(&self, other: &RGBAColour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.