Trait vtc::FramesSource

source ·
pub trait FramesSource: Debug {
    // Required method
    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§

source

fn to_frames(&self, rate: Framerate) -> FramesSourceResult

Returns the number of frames this value represents.

Trait Implementations§

source§

impl FramesSource for &dyn FramesSource

source§

fn to_frames(&self, rate: Framerate) -> FramesSourceResult

Returns the number of frames this value represents.

Implementations on Foreign Types§

source§

impl FramesSource for String

source§

impl FramesSource for u64

source§

impl FramesSource for u8

source§

impl FramesSource for u16

source§

impl FramesSource for i32

source§

impl FramesSource for u32

source§

impl FramesSource for i8

source§

impl FramesSource for isize

source§

impl FramesSource for &str

source§

impl<T> FramesSource for &Twhere T: FramesSource,

source§

impl FramesSource for i16

source§

impl FramesSource for i64

source§

impl FramesSource for usize

Implementors§