pub struct CaptureCam {
pub id: String,
pub kind: CaptureKind,
pub frames: u64,
pub has_mp4: bool,
}Expand description
One camera’s output within a run.
Fields§
§id: StringThe camera id (its subdir name; empty for an old single-dir layout).
kind: CaptureKind§frames: u64Frame count for an image-sequence kind (Park/Smooth); 0 for a Video.
has_mp4: boolWhether an assembled/recorded plain.mp4 is already present (Video only).
Trait Implementations§
Source§impl Clone for CaptureCam
impl Clone for CaptureCam
Source§fn clone(&self) -> CaptureCam
fn clone(&self) -> CaptureCam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureCam
impl Debug for CaptureCam
impl Eq for CaptureCam
Source§impl PartialEq for CaptureCam
impl PartialEq for CaptureCam
Source§fn eq(&self, other: &CaptureCam) -> bool
fn eq(&self, other: &CaptureCam) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CaptureCam
impl Serialize for CaptureCam
impl StructuralPartialEq for CaptureCam
Auto Trait Implementations§
impl Freeze for CaptureCam
impl RefUnwindSafe for CaptureCam
impl Send for CaptureCam
impl Sync for CaptureCam
impl Unpin for CaptureCam
impl UnsafeUnpin for CaptureCam
impl UnwindSafe for CaptureCam
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.