pub struct ExposureTime(pub i32);
Expand description
Exposure time for the frame applied in the sensor device.
This value is specified in micro-seconds.
This control will only take effect if ExposureTimeMode is Manual. If this control is set when ExposureTimeMode is Auto, the value will be ignored and will not be retained.
When reported in metadata, this control indicates what exposure time was used for the current frame, regardless of ExposureTimeMode. ExposureTimeMode will indicate the source of the exposure time value, whether it came from the AE algorithm or not.
\sa AnalogueGain \sa ExposureTimeMode
Tuple Fields§
§0: i32
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