pub enum MetalVideoFramePlaneTexture {
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 MetalVideoFramePlaneTexture
impl Clone for MetalVideoFramePlaneTexture
source§fn clone(&self) -> MetalVideoFramePlaneTexture
fn clone(&self) -> MetalVideoFramePlaneTexture
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 MetalVideoFramePlaneTexture
impl Debug for MetalVideoFramePlaneTexture
source§impl PartialEq for MetalVideoFramePlaneTexture
impl PartialEq for MetalVideoFramePlaneTexture
source§fn eq(&self, other: &MetalVideoFramePlaneTexture) -> bool
fn eq(&self, other: &MetalVideoFramePlaneTexture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MetalVideoFramePlaneTexture
impl Eq for MetalVideoFramePlaneTexture
impl StructuralPartialEq for MetalVideoFramePlaneTexture
Auto Trait Implementations§
impl Freeze for MetalVideoFramePlaneTexture
impl RefUnwindSafe for MetalVideoFramePlaneTexture
impl Send for MetalVideoFramePlaneTexture
impl Sync for MetalVideoFramePlaneTexture
impl Unpin for MetalVideoFramePlaneTexture
impl UnwindSafe for MetalVideoFramePlaneTexture
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.