Struct vtc::TimecodeSections
source · pub struct TimecodeSections {
pub negative: bool,
pub hours: i64,
pub minutes: i64,
pub seconds: i64,
pub frames: i64,
}
Expand description
Holds the individual sections of a timecode for formatting / manipulation.
Fields§
§negative: bool
Whether the timecode is a negative value.
hours: i64
Hours place value.
minutes: i64
Minutes place value.
seconds: i64
Seconds place value.
frames: i64
Frames value.
Trait Implementations§
source§impl Clone for TimecodeSections
impl Clone for TimecodeSections
source§fn clone(&self) -> TimecodeSections
fn clone(&self) -> TimecodeSections
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 Debug for TimecodeSections
impl Debug for TimecodeSections
source§impl PartialEq<TimecodeSections> for TimecodeSections
impl PartialEq<TimecodeSections> for TimecodeSections
source§fn eq(&self, other: &TimecodeSections) -> bool
fn eq(&self, other: &TimecodeSections) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.