Struct ac_ffmpeg::codec::SubtitleCodecParameters
source · pub struct SubtitleCodecParameters { /* private fields */ }
Expand description
Subtitle codec parameters.
Implementations§
source§impl SubtitleCodecParameters
impl SubtitleCodecParameters
pub fn new(codec: &str) -> Result<Self, Error>
sourcepub fn decoder_name(&self) -> Option<&'static str>
pub fn decoder_name(&self) -> Option<&'static str>
Get name of the decoder that is able to decode this codec or None if the decoder is not available.
sourcepub fn encoder_name(&self) -> Option<&'static str>
pub fn encoder_name(&self) -> Option<&'static str>
Get name of the encoder that is able to produce encoding of this codec or None if the encoder is not available.
Trait Implementations§
source§impl Clone for SubtitleCodecParameters
impl Clone for SubtitleCodecParameters
source§fn clone(&self) -> SubtitleCodecParameters
fn clone(&self) -> SubtitleCodecParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<SubtitleCodecParameters> for CodecParameters
impl From<SubtitleCodecParameters> for CodecParameters
source§fn from(params: SubtitleCodecParameters) -> Self
fn from(params: SubtitleCodecParameters) -> Self
Converts to this type from the input type.