Struct nannou::ui::prelude::color::Rgba[][src]

pub struct Rgba(pub f32, pub f32, pub f32, pub f32);

The parts of RGB along with an alpha for transparency.

Trait Implementations

impl Clone for Rgba
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Rgba
[src]

Formats the value using the given formatter. Read more

impl From<Color> for Rgba
[src]

Performs the conversion.

impl From<Rgba> for Color
[src]

Performs the conversion.

impl Into<[f32; 4]> for Rgba
[src]

Performs the conversion.

impl Copy for Rgba
[src]

impl PartialEq<Rgba> for Rgba
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Rgba

impl Sync for Rgba