pub struct Yuv420pPlanes {
pub y: Vec<u8>,
pub u: Vec<u8>,
pub v: Vec<u8>,
}Expand description
Tightly packed planar YUV420 data produced by a GPU readback.
Fields§
§y: Vec<u8>Full-resolution luma samples.
u: Vec<u8>Half-width, half-height blue-difference chroma samples.
v: Vec<u8>Half-width, half-height red-difference chroma samples.
Trait Implementations§
Source§impl Clone for Yuv420pPlanes
impl Clone for Yuv420pPlanes
Source§impl Debug for Yuv420pPlanes
impl Debug for Yuv420pPlanes
impl Eq for Yuv420pPlanes
Source§impl PartialEq for Yuv420pPlanes
impl PartialEq for Yuv420pPlanes
impl StructuralPartialEq for Yuv420pPlanes
Auto Trait Implementations§
impl Freeze for Yuv420pPlanes
impl RefUnwindSafe for Yuv420pPlanes
impl Send for Yuv420pPlanes
impl Sync for Yuv420pPlanes
impl Unpin for Yuv420pPlanes
impl UnsafeUnpin for Yuv420pPlanes
impl UnwindSafe for Yuv420pPlanes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.