pub struct Encoder { /* private fields */ }
Implementations§
Source§impl Encoder
impl Encoder
pub fn send_eof(&mut self) -> Result<(), FfmpegError>
pub fn send_frame(&mut self, frame: &Frame) -> Result<(), FfmpegError>
pub fn receive_packet(&mut self) -> Result<Option<Packet>, FfmpegError>
pub fn stream_index(&self) -> i32
pub fn incoming_time_base(&self) -> AVRational
pub fn outgoing_time_base(&self) -> AVRational
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoder
impl RefUnwindSafe for Encoder
impl !Sync for Encoder
impl Unpin for Encoder
impl UnwindSafe for Encoder
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