pub struct AeFlickerPeriod(pub i32);
Expand description
Manual flicker period in microseconds.
This value sets the current flicker period to avoid. It is used when AeFlickerMode is set to FlickerManual.
To cancel 50Hz mains flicker, this should be set to 10000 (corresponding to 100Hz), or 8333 (120Hz) for 60Hz mains.
Setting the mode to FlickerManual when no AeFlickerPeriod has ever been set means that no flicker cancellation occurs (until the value of this control is updated).
Switching to modes other than FlickerManual has no effect on the value of the AeFlickerPeriod control.
\sa AeFlickerMode
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Clone for AeFlickerPeriod
impl Clone for AeFlickerPeriod
Source§fn clone(&self) -> AeFlickerPeriod
fn clone(&self) -> AeFlickerPeriod
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 AeFlickerPeriod
impl ControlEntry for AeFlickerPeriod
Source§impl Debug for AeFlickerPeriod
impl Debug for AeFlickerPeriod
Source§impl Deref for AeFlickerPeriod
impl Deref for AeFlickerPeriod
Source§impl DerefMut for AeFlickerPeriod
impl DerefMut for AeFlickerPeriod
Source§impl From<AeFlickerPeriod> for ControlValue
impl From<AeFlickerPeriod> for ControlValue
Source§fn from(val: AeFlickerPeriod) -> Self
fn from(val: AeFlickerPeriod) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ControlValue> for AeFlickerPeriod
impl TryFrom<ControlValue> for AeFlickerPeriod
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AeFlickerPeriod
Auto Trait Implementations§
impl Freeze for AeFlickerPeriod
impl RefUnwindSafe for AeFlickerPeriod
impl Send for AeFlickerPeriod
impl Sync for AeFlickerPeriod
impl Unpin for AeFlickerPeriod
impl UnwindSafe for AeFlickerPeriod
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