Struct rich_sdl2_rust::window::GammaParam
source · pub struct GammaParam {
pub red: Option<GammaRamp>,
pub green: Option<GammaRamp>,
pub blue: Option<GammaRamp>,
}
Expand description
A gamma ramps for setting to a window.
Fields§
§red: Option<GammaRamp>
A gamma ramp of red component. It will not set if None
.
green: Option<GammaRamp>
A gamma ramp of green component. It will not set if None
.
blue: Option<GammaRamp>
A gamma ramp of blue component. It will not set if None
.
Trait Implementations§
source§impl Clone for GammaParam
impl Clone for GammaParam
source§fn clone(&self) -> GammaParam
fn clone(&self) -> GammaParam
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GammaParam
impl Debug for GammaParam
source§impl Default for GammaParam
impl Default for GammaParam
source§fn default() -> GammaParam
fn default() -> GammaParam
Returns the “default value” for a type. Read more
source§impl PartialEq<GammaParam> for GammaParam
impl PartialEq<GammaParam> for GammaParam
source§fn eq(&self, other: &GammaParam) -> bool
fn eq(&self, other: &GammaParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.