Struct dotrix_egui::Rgba [−]
pub struct Rgba(_);
Expand description
0-1 linear space RGBA
color with premultiplied alpha.
Implementations
impl Rgba
impl Rgba
pub const TRANSPARENT: Rgba
pub fn from_luminance_alpha(l: f32, a: f32) -> Rgba
pub fn from_black_alpha(a: f32) -> Rgba
pub fn from_black_alpha(a: f32) -> Rgba
Transparent black
pub fn from_white_alpha(a: f32) -> Rgba
pub fn from_white_alpha(a: f32) -> Rgba
Transparent white
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rgba
impl UnwindSafe for Rgba
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more