Struct libcamera::controls::SensorTimestamp
source · pub struct SensorTimestamp(pub i64);
Expand description
The time when the first row of the image sensor active array is exposed.
The timestamp, expressed in nanoseconds, represents a monotonically increasing counter since the system boot time, as defined by the Linux-specific CLOCK_BOOTTIME clock id.
The SensorTimestamp control can only be returned in metadata.
\todo Define how the sensor timestamp has to be used in the reprocessing use case.
Tuple Fields§
§0: i64
Methods from Deref<Target = i64>§
pub const MIN: i64 = -9_223_372_036_854_775_808i64
pub const MAX: i64 = 9_223_372_036_854_775_807i64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for SensorTimestamp
impl Clone for SensorTimestamp
source§fn clone(&self) -> SensorTimestamp
fn clone(&self) -> SensorTimestamp
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 SensorTimestamp
impl ControlEntry for SensorTimestamp
source§impl Debug for SensorTimestamp
impl Debug for SensorTimestamp
source§impl Deref for SensorTimestamp
impl Deref for SensorTimestamp
source§impl DerefMut for SensorTimestamp
impl DerefMut for SensorTimestamp
source§impl From<SensorTimestamp> for ControlValue
impl From<SensorTimestamp> for ControlValue
source§fn from(val: SensorTimestamp) -> Self
fn from(val: SensorTimestamp) -> Self
Converts to this type from the input type.
source§impl TryFrom<ControlValue> for SensorTimestamp
impl TryFrom<ControlValue> for SensorTimestamp
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for SensorTimestamp
Auto Trait Implementations§
impl Freeze for SensorTimestamp
impl RefUnwindSafe for SensorTimestamp
impl Send for SensorTimestamp
impl Sync for SensorTimestamp
impl Unpin for SensorTimestamp
impl UnwindSafe for SensorTimestamp
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
)