pub struct EncodedPicture {
pub sample: Vec<u8>,
pub keyframe: bool,
}Expand description
One encoded picture.
Fields§
§sample: Vec<u8>The access unit as an MP4 sample: 4-byte length-prefixed NAL units.
keyframe: boolAn IDR picture: decoding can start here.
Trait Implementations§
Source§impl Clone for EncodedPicture
impl Clone for EncodedPicture
Auto Trait Implementations§
impl Forget for EncodedPicture
impl Freeze for EncodedPicture
impl Move for EncodedPicture
impl RefUnwindSafe for EncodedPicture
impl Send for EncodedPicture
impl Sync for EncodedPicture
impl Unpin for EncodedPicture
impl UnsafeUnpin for EncodedPicture
impl UnwindSafe for EncodedPicture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more