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
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