#[repr(u8)]pub enum DriftCompensation {
None = 0,
Otherorunknown = 1,
Temperaturemonitoring = 2,
Opticalluminancemonitoringandfeedback = 3,
Opticalcolormonitoringandfeedback = 4,
}Variants§
None = 0
There is no compensation.
Otherorunknown = 1
The compensation is based on other or unknown mechanism.
Temperaturemonitoring = 2
The compensation is based on temperature monitoring.
Opticalluminancemonitoringandfeedback = 3
The compensation is based on optical luminance monitoring and feedback.
Opticalcolormonitoringandfeedback = 4
The compensation is based on optical color monitoring and feedback.
Implementations§
Trait Implementations§
Source§impl Clone for DriftCompensation
impl Clone for DriftCompensation
Source§fn clone(&self) -> DriftCompensation
fn clone(&self) -> DriftCompensation
Returns a duplicate 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 DriftCompensation
impl Debug for DriftCompensation
Source§impl<'de> Deserialize<'de> for DriftCompensation
impl<'de> Deserialize<'de> for DriftCompensation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DriftCompensation> for u8
impl From<DriftCompensation> for u8
Source§fn from(val: DriftCompensation) -> Self
fn from(val: DriftCompensation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DriftCompensation
impl PartialEq for DriftCompensation
Source§impl Serialize for DriftCompensation
impl Serialize for DriftCompensation
impl Copy for DriftCompensation
impl Eq for DriftCompensation
impl StructuralPartialEq for DriftCompensation
Auto Trait Implementations§
impl Freeze for DriftCompensation
impl RefUnwindSafe for DriftCompensation
impl Send for DriftCompensation
impl Sync for DriftCompensation
impl Unpin for DriftCompensation
impl UnwindSafe for DriftCompensation
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