Enum libcamera::controls::AeExposureMode
source · #[repr(i32)]pub enum AeExposureMode {
ExposureNormal = 0,
ExposureShort = 1,
ExposureLong = 2,
ExposureCustom = 3,
}
Expand description
Specify an exposure mode for the AE algorithm to use. These specify how the desired total exposure is divided between the shutter time and the sensor’s analogue gain. The exposure modes are platform specific, and not all exposure modes may be supported.
Variants§
ExposureNormal = 0
Default exposure mode.
ExposureShort = 1
Exposure mode allowing only short exposure times.
ExposureLong = 2
Exposure mode allowing long exposure times.
ExposureCustom = 3
Custom exposure mode.
Trait Implementations§
source§impl Clone for AeExposureMode
impl Clone for AeExposureMode
source§fn clone(&self) -> AeExposureMode
fn clone(&self) -> AeExposureMode
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 AeExposureMode
impl ControlEntry for AeExposureMode
source§impl Debug for AeExposureMode
impl Debug for AeExposureMode
source§impl From<AeExposureMode> for ControlValue
impl From<AeExposureMode> for ControlValue
source§fn from(val: AeExposureMode) -> Self
fn from(val: AeExposureMode) -> Self
Converts to this type from the input type.
source§impl From<AeExposureMode> for i32
impl From<AeExposureMode> for i32
source§fn from(enum_value: AeExposureMode) -> Self
fn from(enum_value: AeExposureMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for AeExposureMode
impl PartialEq for AeExposureMode
source§impl TryFrom<ControlValue> for AeExposureMode
impl TryFrom<ControlValue> for AeExposureMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for AeExposureMode
impl TryFrom<i32> for AeExposureMode
source§impl TryFromPrimitive for AeExposureMode
impl TryFromPrimitive for AeExposureMode
impl Control for AeExposureMode
impl Copy for AeExposureMode
impl Eq for AeExposureMode
impl StructuralPartialEq for AeExposureMode
Auto Trait Implementations§
impl Freeze for AeExposureMode
impl RefUnwindSafe for AeExposureMode
impl Send for AeExposureMode
impl Sync for AeExposureMode
impl Unpin for AeExposureMode
impl UnwindSafe for AeExposureMode
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
)