Enum libcamera::controls::SceneFlicker
source · #[repr(i32)]pub enum SceneFlicker {
SceneFickerOff = 0,
SceneFicker50Hz = 1,
SceneFicker60Hz = 2,
}
Expand description
Control to report the detected scene light frequency. Currently identical to ANDROID_STATISTICS_SCENE_FLICKER.
Variants§
SceneFickerOff = 0
No flickering detected.
SceneFicker50Hz = 1
50Hz flickering detected.
SceneFicker60Hz = 2
60Hz flickering detected.
Trait Implementations§
source§impl Clone for SceneFlicker
impl Clone for SceneFlicker
source§fn clone(&self) -> SceneFlicker
fn clone(&self) -> SceneFlicker
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 SceneFlicker
impl ControlEntry for SceneFlicker
source§impl Debug for SceneFlicker
impl Debug for SceneFlicker
source§impl From<SceneFlicker> for ControlValue
impl From<SceneFlicker> for ControlValue
source§fn from(val: SceneFlicker) -> Self
fn from(val: SceneFlicker) -> Self
Converts to this type from the input type.
source§impl From<SceneFlicker> for i32
impl From<SceneFlicker> for i32
source§fn from(enum_value: SceneFlicker) -> Self
fn from(enum_value: SceneFlicker) -> Self
Converts to this type from the input type.
source§impl PartialEq for SceneFlicker
impl PartialEq for SceneFlicker
source§impl TryFrom<ControlValue> for SceneFlicker
impl TryFrom<ControlValue> for SceneFlicker
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for SceneFlicker
impl TryFrom<i32> for SceneFlicker
source§impl TryFromPrimitive for SceneFlicker
impl TryFromPrimitive for SceneFlicker
impl Control for SceneFlicker
impl Copy for SceneFlicker
impl Eq for SceneFlicker
impl StructuralPartialEq for SceneFlicker
Auto Trait Implementations§
impl Freeze for SceneFlicker
impl RefUnwindSafe for SceneFlicker
impl Send for SceneFlicker
impl Sync for SceneFlicker
impl Unpin for SceneFlicker
impl UnwindSafe for SceneFlicker
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)