Skip to main content

FormatBuilder

Trait FormatBuilder 

Source
pub trait FormatBuilder: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn extensions(&self) -> &[&'static str];
}
Expand description

Trait for format builders (base for DemuxerBuilder and MuxerBuilder)

Required Methods§

Source

fn name(&self) -> &'static str

Returns the name of this format

Source

fn extensions(&self) -> &[&'static str]

Returns the file extensions this format supports (without leading dot)

Implementations on Foreign Types§

Source§

impl FormatBuilder for Mp4DemuxerBuilder

Source§

fn name(&self) -> &'static str

Source§

fn extensions(&self) -> &[&'static str]

Source§

impl FormatBuilder for MkvDemuxerBuilder

Source§

fn name(&self) -> &'static str

Source§

fn extensions(&self) -> &[&'static str]

Implementors§