pub struct PayloadTimestamp {
pub pts: u32,
pub scr_stc: Option<(u32, u16)>,
}Expand description
Optional UVC payload timestamps for Camera::write_frame_with_timestamp and
Camera::start_frame_with_timestamp.
Fields§
§pts: u32Presentation Time Stamp (PTS) in native device clock units (dwClockFrequency).
scr_stc: Option<(u32, u16)>Optional Source Clock Reference: (STC, SOF) where STC is the 32-bit device clock
counter and SOF is the 16-bit USB (micro)frame number.
Trait Implementations§
Source§impl Clone for PayloadTimestamp
impl Clone for PayloadTimestamp
impl Copy for PayloadTimestamp
Source§impl Debug for PayloadTimestamp
impl Debug for PayloadTimestamp
impl Eq for PayloadTimestamp
Source§impl Format for PayloadTimestamp
impl Format for PayloadTimestamp
Source§impl PartialEq for PayloadTimestamp
impl PartialEq for PayloadTimestamp
impl StructuralPartialEq for PayloadTimestamp
Auto Trait Implementations§
impl Forget for PayloadTimestamp
impl Freeze for PayloadTimestamp
impl Move for PayloadTimestamp
impl RefUnwindSafe for PayloadTimestamp
impl Send for PayloadTimestamp
impl Sync for PayloadTimestamp
impl Unpin for PayloadTimestamp
impl UnsafeUnpin for PayloadTimestamp
impl UnwindSafe for PayloadTimestamp
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