Trait vtc::FramesSource [−][src]
pub trait FramesSource: Debug { fn to_frames(&self, rate: Framerate) -> FramesSourceResult; }
Expand description
Types implementing this trait can be converted into the number of frames that have elapsed since a timecode value of 00:00:00:00.
Required methods
fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]
fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]Returns the number of frames this value represents.
Trait Implementations
impl FramesSource for &dyn FramesSource
[src]
impl FramesSource for &dyn FramesSource
[src]fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]
fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]Returns the number of frames this value represents.
Implementations on Foreign Types
impl<T> FramesSource for &T where
T: FramesSource,
[src]
impl<T> FramesSource for &T where
T: FramesSource,
[src]fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]
impl FramesSource for i64
[src]
impl FramesSource for i64
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for isize
[src]
impl FramesSource for isize
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for usize
[src]
impl FramesSource for usize
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for u64
[src]
impl FramesSource for u64
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for i32
[src]
impl FramesSource for i32
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for u32
[src]
impl FramesSource for u32
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for i16
[src]
impl FramesSource for i16
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for u16
[src]
impl FramesSource for u16
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for i8
[src]
impl FramesSource for i8
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for u8
[src]
impl FramesSource for u8
[src]fn to_frames(&self, _: Framerate) -> FramesSourceResult
[src]
impl FramesSource for &str
[src]
impl FramesSource for &str
[src]fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]
impl FramesSource for String
[src]
impl FramesSource for String
[src]fn to_frames(&self, rate: Framerate) -> FramesSourceResult
[src]
Implementors
impl FramesSource for &dyn FramesSource
[src]
impl FramesSource for &dyn FramesSource
[src]