pub struct VideoFileHandler { /* private fields */ }Implementations§
Source§impl VideoFileHandler
impl VideoFileHandler
pub fn from_cache(timespans: Vec<TimeSpan>) -> VideoFileHandler
pub fn open_video_file( file_path: &Path, audio_index: Option<usize>, video_decode_progress: impl ProgressHandler, ) -> Result<VideoFileHandler, InputVideoError>
pub fn filter_with_min_span_length_ms(&mut self, min_vad_span_length_ms: i64)
pub fn timespans(&self) -> &[TimeSpan]
Auto Trait Implementations§
impl Freeze for VideoFileHandler
impl RefUnwindSafe for VideoFileHandler
impl Send for VideoFileHandler
impl Sync for VideoFileHandler
impl Unpin for VideoFileHandler
impl UnwindSafe for VideoFileHandler
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