#[repr(u8)]pub enum GammaControl {
Disable = 0,
Enable = 1,
Toggle = 3,
}
Variants§
Disable = 0
Disable gamma correction
Enable = 1
Enable gamma correction
Toggle = 3
Toggle gamma correction
Trait Implementations§
Source§impl Clone for GammaControl
impl Clone for GammaControl
Source§fn clone(&self) -> GammaControl
fn clone(&self) -> GammaControl
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GammaControl
impl Debug for GammaControl
Source§impl Hash for GammaControl
impl Hash for GammaControl
Source§impl PartialEq for GammaControl
impl PartialEq for GammaControl
impl Copy for GammaControl
impl Eq for GammaControl
impl StructuralPartialEq for GammaControl
Auto Trait Implementations§
impl Freeze for GammaControl
impl RefUnwindSafe for GammaControl
impl Send for GammaControl
impl Sync for GammaControl
impl Unpin for GammaControl
impl UnwindSafe for GammaControl
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