Struct libcamera::controls::MaxLatency
source · pub struct MaxLatency(pub i32);
Expand description
The maximum number of frames that can occur after a request (different than the previous) has been submitted, and before the result’s state becomes synchronized. A value of -1 indicates unknown latency, and 0 indicates per-frame control. Currently identical to ANDROID_SYNC_MAX_LATENCY.
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 MaxLatency
impl Clone for MaxLatency
source§fn clone(&self) -> MaxLatency
fn clone(&self) -> MaxLatency
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 MaxLatency
impl ControlEntry for MaxLatency
source§impl Debug for MaxLatency
impl Debug for MaxLatency
source§impl Deref for MaxLatency
impl Deref for MaxLatency
source§impl DerefMut for MaxLatency
impl DerefMut for MaxLatency
source§impl From<MaxLatency> for ControlValue
impl From<MaxLatency> for ControlValue
source§fn from(val: MaxLatency) -> Self
fn from(val: MaxLatency) -> Self
Converts to this type from the input type.
source§impl TryFrom<ControlValue> for MaxLatency
impl TryFrom<ControlValue> for MaxLatency
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for MaxLatency
Auto Trait Implementations§
impl Freeze for MaxLatency
impl RefUnwindSafe for MaxLatency
impl Send for MaxLatency
impl Sync for MaxLatency
impl Unpin for MaxLatency
impl UnwindSafe for MaxLatency
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
)