[−][src]Struct ffmpeg_next::codec::encoder::subtitle::Subtitle
Implementations
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 send_frame(&mut self, frame: &Frame) -> Result<(), Error>[src]
pub fn send_eof(&mut self) -> Result<(), Error>[src]
Sends a NULL packet to the encoder to signal end of stream and enter draining mode.
pub fn receive_packet<P: Mut>(&mut self, packet: &mut P) -> Result<(), Error>[src]
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 AsMut<Context> for Subtitle[src]
impl AsRef<Context> for Subtitle[src]
impl Deref for Subtitle[src]
type Target = Super
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target[src]
impl DerefMut for Subtitle[src]
Auto Trait Implementations
impl !RefUnwindSafe for Subtitle[src]
impl Send for Subtitle[src]
impl !Sync for Subtitle[src]
impl Unpin for Subtitle[src]
impl !UnwindSafe for Subtitle[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,