Struct cue_rw::CUETimeStamp
source · pub struct CUETimeStamp { /* private fields */ }Expand description
Represents a CUE timestamp, the value in seconds can be obtained by
converting it into Rational32
Trait Implementations§
source§impl Clone for CUETimeStamp
impl Clone for CUETimeStamp
source§fn clone(&self) -> CUETimeStamp
fn clone(&self) -> CUETimeStamp
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 CUETimeStamp
impl Debug for CUETimeStamp
source§impl Display for CUETimeStamp
impl Display for CUETimeStamp
source§impl From<CUETimeStamp> for Rational32
impl From<CUETimeStamp> for Rational32
Converts a CUETimeStamp into a Rational32, in seconds.
source§fn from(ts: CUETimeStamp) -> Self
fn from(ts: CUETimeStamp) -> Self
Converts to this type from the input type.
source§impl PartialEq for CUETimeStamp
impl PartialEq for CUETimeStamp
source§fn eq(&self, other: &CUETimeStamp) -> bool
fn eq(&self, other: &CUETimeStamp) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&str> for CUETimeStamp
impl TryFrom<&str> for CUETimeStamp
impl Copy for CUETimeStamp
impl Eq for CUETimeStamp
impl StructuralPartialEq for CUETimeStamp
Auto Trait Implementations§
impl Freeze for CUETimeStamp
impl RefUnwindSafe for CUETimeStamp
impl Send for CUETimeStamp
impl Sync for CUETimeStamp
impl Unpin for CUETimeStamp
impl UnwindSafe for CUETimeStamp
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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