Struct libcamera::controls::FrameDuration
source · pub struct FrameDuration(pub i64);
Expand description
The instantaneous frame duration from start of frame exposure to start of next exposure, expressed in microseconds. This control is meant to be returned in metadata.
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 FrameDuration
impl Clone for FrameDuration
source§fn clone(&self) -> FrameDuration
fn clone(&self) -> FrameDuration
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 FrameDuration
impl ControlEntry for FrameDuration
source§impl Debug for FrameDuration
impl Debug for FrameDuration
source§impl Deref for FrameDuration
impl Deref for FrameDuration
source§impl DerefMut for FrameDuration
impl DerefMut for FrameDuration
source§impl From<FrameDuration> for ControlValue
impl From<FrameDuration> for ControlValue
source§fn from(val: FrameDuration) -> Self
fn from(val: FrameDuration) -> Self
Converts to this type from the input type.
source§impl TryFrom<ControlValue> for FrameDuration
impl TryFrom<ControlValue> for FrameDuration
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for FrameDuration
Auto Trait Implementations§
impl Freeze for FrameDuration
impl RefUnwindSafe for FrameDuration
impl Send for FrameDuration
impl Sync for FrameDuration
impl Unpin for FrameDuration
impl UnwindSafe for FrameDuration
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
)