Struct rich_sdl2_rust::window::Gamma
source · pub struct Gamma {
pub red: GammaRamp,
pub green: GammaRamp,
pub blue: GammaRamp,
}
Expand description
A gamma ramps for a window.
Fields§
§red: GammaRamp
A gamma ramp of red component.
green: GammaRamp
A gamma ramp of green component.
blue: GammaRamp
A gamma ramp of blue component.
Trait Implementations§
source§impl PartialEq for Gamma
impl PartialEq for Gamma
impl Eq for Gamma
impl StructuralPartialEq for Gamma
Auto Trait Implementations§
impl RefUnwindSafe for Gamma
impl Send for Gamma
impl Sync for Gamma
impl Unpin for Gamma
impl UnwindSafe for Gamma
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more