Struct libcamera::controls::ExposureTime
source · pub struct ExposureTime(pub i32);
Expand description
Exposure time (shutter speed) for the frame applied in the sensor device. This value is specified in micro-seconds.
Setting this value means that it is now fixed and the AE algorithm may not change it. Setting it back to zero returns it to the control of the AE algorithm.
\sa AnalogueGain AeEnable
\todo Document the interactions between AeEnable and setting a fixed value for this control. Consider interactions with other AE features, such as aperture and aperture/shutter priority mode, and decide if control of which features should be automatically adjusted shouldn’t better be handled through a separate AE mode control.
Tuple Fields§
§0: i32
Methods from Deref<Target = i32>§
pub const MIN: i32 = -2_147_483_648i32
pub const MAX: i32 = 2_147_483_647i32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Clone for ExposureTime
impl Clone for ExposureTime
source§fn clone(&self) -> ExposureTime
fn clone(&self) -> ExposureTime
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 ExposureTime
impl ControlEntry for ExposureTime
source§impl Debug for ExposureTime
impl Debug for ExposureTime
source§impl Deref for ExposureTime
impl Deref for ExposureTime
source§impl DerefMut for ExposureTime
impl DerefMut for ExposureTime
source§impl From<ExposureTime> for ControlValue
impl From<ExposureTime> for ControlValue
source§fn from(val: ExposureTime) -> Self
fn from(val: ExposureTime) -> Self
Converts to this type from the input type.
source§impl TryFrom<ControlValue> for ExposureTime
impl TryFrom<ControlValue> for ExposureTime
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for ExposureTime
Auto Trait Implementations§
impl Freeze for ExposureTime
impl RefUnwindSafe for ExposureTime
impl Send for ExposureTime
impl Sync for ExposureTime
impl Unpin for ExposureTime
impl UnwindSafe for ExposureTime
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
)