Enum crabgrab::feature::wgpu::WgpuVideoFramePlaneTexture
source · pub enum WgpuVideoFramePlaneTexture {
Rgba,
Luminance,
Chroma,
}
Expand description
Identifies planes of a video frame
Variants§
Rgba
The single RGBA plane for an RGBA format frame
Luminance
The Luminance (Y, brightness) plane for a YCbCr format frame
Chroma
The Chrominance (CbCr, Blue/Red) plane for a YCbCr format frame
Trait Implementations§
source§impl Clone for WgpuVideoFramePlaneTexture
impl Clone for WgpuVideoFramePlaneTexture
source§fn clone(&self) -> WgpuVideoFramePlaneTexture
fn clone(&self) -> WgpuVideoFramePlaneTexture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WgpuVideoFramePlaneTexture
impl Debug for WgpuVideoFramePlaneTexture
source§impl PartialEq for WgpuVideoFramePlaneTexture
impl PartialEq for WgpuVideoFramePlaneTexture
source§fn eq(&self, other: &WgpuVideoFramePlaneTexture) -> bool
fn eq(&self, other: &WgpuVideoFramePlaneTexture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WgpuVideoFramePlaneTexture
impl Eq for WgpuVideoFramePlaneTexture
impl StructuralPartialEq for WgpuVideoFramePlaneTexture
Auto Trait Implementations§
impl Freeze for WgpuVideoFramePlaneTexture
impl RefUnwindSafe for WgpuVideoFramePlaneTexture
impl Send for WgpuVideoFramePlaneTexture
impl Sync for WgpuVideoFramePlaneTexture
impl Unpin for WgpuVideoFramePlaneTexture
impl UnwindSafe for WgpuVideoFramePlaneTexture
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.