Trait Importer

Source
pub trait Importer {
    // Provided methods
    fn is_supported(_ctx: &mut Context, _path: &Path) -> bool { ... }
    fn start(
        _ctx: &mut Context,
        _path: &Path,
        _dst: &mut [RawFrame],
        _cb: &dyn Fn(&mut Context, usize, f64),
    ) -> Result<()> { ... }
}
Expand description

An importer trait.

Provided Methods§

Source

fn is_supported(_ctx: &mut Context, _path: &Path) -> bool

Source

fn start( _ctx: &mut Context, _path: &Path, _dst: &mut [RawFrame], _cb: &dyn Fn(&mut Context, usize, f64), ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§