Struct rmenu::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 Copy for Rgba
[src]

impl Clone for Rgba
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Color> for Rgba
[src]

[src]

Performs the conversion.

impl PartialEq<Rgba> for Rgba
[src]

[src]

[src]

impl Debug for Rgba
[src]

[src]

Formats the value using the given formatter.

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

[src]

Performs the conversion.