pub enum YuvFormat {
Yuv420,
Yuv422,
Yuv444,
}Expand description
Chroma subsampling format.
Variants§
Yuv420
4:2:0 – U/V planes are half width and half height.
Yuv422
4:2:2 – U/V planes are half width, full height.
Yuv444
4:4:4 – U/V planes are full width and full height.
Trait Implementations§
impl Copy for YuvFormat
impl Eq for YuvFormat
impl StructuralPartialEq for YuvFormat
Auto Trait Implementations§
impl Freeze for YuvFormat
impl RefUnwindSafe for YuvFormat
impl Send for YuvFormat
impl Sync for YuvFormat
impl Unpin for YuvFormat
impl UnsafeUnpin for YuvFormat
impl UnwindSafe for YuvFormat
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