Struct ffmpeg::codec::encoder::subtitle::Subtitle
[−]
[src]
pub struct Subtitle(pub Super);
Methods
impl Subtitle
[src]
pub fn open(self) -> Result<Encoder, Error>
[src]
pub fn open_as<E: Encoder>(self, codec: E) -> Result<Encoder, Error>
[src]
pub fn open_as_with<E: Encoder>(
self,
codec: E,
options: Dictionary
) -> Result<Encoder, Error>
[src]
self,
codec: E,
options: Dictionary
) -> Result<Encoder, Error>
Methods from Deref<Target = Super>
pub fn set_bit_rate(&mut self, value: usize)
[src]
pub fn set_max_bit_rate(&mut self, value: usize)
[src]
pub fn set_tolerance(&mut self, value: usize)
[src]
pub fn set_quality(&mut self, value: usize)
[src]
pub fn set_compression(&mut self, value: Option<usize>)
[src]
pub fn set_time_base<R: Into<Rational>>(&mut self, value: R)
[src]
pub fn set_frame_rate<R: Into<Rational>>(&mut self, value: Option<R>)
[src]
Trait Implementations
impl Deref for Subtitle
[src]
type Target = Super
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.