pub fn replace(&mut self, color: Color) {
        self.r = color.r;
        self.g = color.g;
        self.b = color.b;
        self.a = color.a;
    }
/// Replaces the current color with the given one
Replaces the current color with the given one
Replaces the current color with the given one
pub fn replace(&mut self, color: Color) {
        self.r = color.r;
        self.g = color.g;
        self.b = color.b;
        self.a = color.a;
    }
pub fn replace ( & mut self , color : Color ) { self . r = color . r ; self . g = color . g ; self . b = color . b ; self . a = color . a ; }
Replaces the current color with the given one
Replaces the current color with the given one
&mut self
color
Color
&mut self
color
Color