pub trait TimecodeReader {
// Required methods
fn read_timecode(&mut self) -> Result<Option<Timecode>, TimecodeError>;
fn frame_rate(&self) -> FrameRate;
fn is_synchronized(&self) -> bool;
}Expand description
Timecode reader trait
Required Methods§
Sourcefn read_timecode(&mut self) -> Result<Option<Timecode>, TimecodeError>
fn read_timecode(&mut self) -> Result<Option<Timecode>, TimecodeError>
Read the next timecode from the source
Sourcefn frame_rate(&self) -> FrameRate
fn frame_rate(&self) -> FrameRate
Get the current frame rate
Sourcefn is_synchronized(&self) -> bool
fn is_synchronized(&self) -> bool
Check if the reader is synchronized