pub struct ClockTimestamp {
pub hours: u8,
pub minutes: u8,
pub seconds: u8,
pub n_frames: u32,
pub discontinuity: bool,
pub ct_type: u8,
pub nuit_field_based: bool,
pub counting_type: u8,
}Expand description
A clock timestamp embedded in a picture timing SEI.
Fields§
§hours: u8Hours component (0–23).
minutes: u8Minutes component (0–59).
seconds: u8Seconds component (0–59).
n_frames: u32N_frames field from the bitstream.
discontinuity: boolDiscontinuity flag.
ct_type: u8Clock timestamp count (ct_type): 0=progressive, 1=interlaced, 2=unknown.
nuit_field_based: boolNuit field clock (numerator of offset from nominal).
counting_type: u8Counting type (0–6).
Implementations§
Trait Implementations§
Source§impl Clone for ClockTimestamp
impl Clone for ClockTimestamp
Source§fn clone(&self) -> ClockTimestamp
fn clone(&self) -> ClockTimestamp
Returns a duplicate 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 Debug for ClockTimestamp
impl Debug for ClockTimestamp
Source§impl PartialEq for ClockTimestamp
impl PartialEq for ClockTimestamp
impl Copy for ClockTimestamp
impl Eq for ClockTimestamp
impl StructuralPartialEq for ClockTimestamp
Auto Trait Implementations§
impl Freeze for ClockTimestamp
impl RefUnwindSafe for ClockTimestamp
impl Send for ClockTimestamp
impl Sync for ClockTimestamp
impl Unpin for ClockTimestamp
impl UnsafeUnpin for ClockTimestamp
impl UnwindSafe for ClockTimestamp
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more