pub struct VideoEncoded { /* private fields */ }
Implementations§
Source§impl VideoEncoded
impl VideoEncoded
pub async fn frame(&mut self) -> Result<Option<EncodedFrame>, Error>
Sourcepub fn config(&self) -> Option<VideoDecoderConfig>
pub fn config(&self) -> Option<VideoDecoderConfig>
Returns the decoder config, after the first frame has been encoded.
Auto Trait Implementations§
impl Freeze for VideoEncoded
impl !RefUnwindSafe for VideoEncoded
impl !Send for VideoEncoded
impl !Sync for VideoEncoded
impl Unpin for VideoEncoded
impl !UnwindSafe for VideoEncoded
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