Struct sonogram::RGBAColour
source · [−]Expand description
Colours required for a PNG file, includes the alpha channel.
Fields
r: u8g: u8b: u8a: u8Implementations
Trait Implementations
sourceimpl Clone for RGBAColour
impl Clone for RGBAColour
sourcefn clone(&self) -> RGBAColour
fn clone(&self) -> RGBAColour
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RGBAColour
impl Debug for RGBAColour
sourceimpl PartialEq<RGBAColour> for RGBAColour
impl PartialEq<RGBAColour> for RGBAColour
sourcefn eq(&self, other: &RGBAColour) -> bool
fn eq(&self, other: &RGBAColour) -> bool
impl Eq for RGBAColour
impl StructuralEq for RGBAColour
impl StructuralPartialEq for RGBAColour
Auto Trait Implementations
impl RefUnwindSafe for RGBAColour
impl Send for RGBAColour
impl Sync for RGBAColour
impl Unpin for RGBAColour
impl UnwindSafe for RGBAColour
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more