pub struct AeFlickerDetected(pub i32);
Expand description
Flicker period detected in microseconds.
The value reported here indicates the currently detected flicker period, or zero if no flicker at all is detected.
When AeFlickerMode is set to FlickerAuto, there may be a period during which the value reported here remains zero. Once a non-zero value is reported, then this is the flicker period that has been detected and is now being cancelled.
In the case of 50Hz mains flicker, the value would be 10000 (corresponding to 100Hz), or 8333 (120Hz) for 60Hz mains flicker.
It is implementation dependent whether the system can continue to detect flicker of different periods when another frequency is already being cancelled.
\sa AeFlickerMode
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Clone for AeFlickerDetected
impl Clone for AeFlickerDetected
Source§fn clone(&self) -> AeFlickerDetected
fn clone(&self) -> AeFlickerDetected
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 ControlEntry for AeFlickerDetected
impl ControlEntry for AeFlickerDetected
Source§impl Debug for AeFlickerDetected
impl Debug for AeFlickerDetected
Source§impl Deref for AeFlickerDetected
impl Deref for AeFlickerDetected
Source§impl DerefMut for AeFlickerDetected
impl DerefMut for AeFlickerDetected
Source§impl From<AeFlickerDetected> for ControlValue
impl From<AeFlickerDetected> for ControlValue
Source§fn from(val: AeFlickerDetected) -> Self
fn from(val: AeFlickerDetected) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ControlValue> for AeFlickerDetected
impl TryFrom<ControlValue> for AeFlickerDetected
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AeFlickerDetected
Auto Trait Implementations§
impl Freeze for AeFlickerDetected
impl RefUnwindSafe for AeFlickerDetected
impl Send for AeFlickerDetected
impl Sync for AeFlickerDetected
impl Unpin for AeFlickerDetected
impl UnwindSafe for AeFlickerDetected
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