Struct vtc::TimecodeSections [−][src]
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
impl Clone for TimecodeSections
[src]
impl Clone for TimecodeSections
[src]fn clone(&self) -> TimecodeSections
[src]
fn clone(&self) -> TimecodeSections
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TimecodeSections
[src]
impl Debug for TimecodeSections
[src]impl PartialEq<TimecodeSections> for TimecodeSections
[src]
impl PartialEq<TimecodeSections> for TimecodeSections
[src]fn eq(&self, other: &TimecodeSections) -> bool
[src]
fn eq(&self, other: &TimecodeSections) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TimecodeSections) -> bool
[src]
fn ne(&self, other: &TimecodeSections) -> bool
[src]This method tests for !=
.
impl Eq for TimecodeSections
[src]
impl StructuralEq for TimecodeSections
[src]
impl StructuralPartialEq for TimecodeSections
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimecodeSections
impl Send for TimecodeSections
impl Sync for TimecodeSections
impl Unpin for TimecodeSections
impl UnwindSafe for TimecodeSections
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more