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.
Auto Trait Implementations§
impl Freeze for SubtitleCodecParameters
impl RefUnwindSafe for SubtitleCodecParameters
impl Send for SubtitleCodecParameters
impl Sync for SubtitleCodecParameters
impl Unpin for SubtitleCodecParameters
impl UnwindSafe for SubtitleCodecParameters
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