Enum webrender_api::YuvData [−][src]
pub enum YuvData { NV12(ImageKey, ImageKey), PlanarYCbCr(ImageKey, ImageKey, ImageKey), InterleavedYCbCr(ImageKey), }
Variants
NV12(ImageKey, ImageKey)
PlanarYCbCr(ImageKey, ImageKey, ImageKey)
InterleavedYCbCr(ImageKey)
Methods
impl YuvData
[src]
impl YuvData
pub fn get_format(&self) -> YuvFormat
[src]
pub fn get_format(&self) -> YuvFormat
Trait Implementations
impl Clone for YuvData
[src]
impl Clone for YuvData
fn clone(&self) -> YuvData
[src]
fn clone(&self) -> YuvData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for YuvData
[src]
impl Copy for YuvData
impl Debug for YuvData
[src]
impl Debug for YuvData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for YuvData
[src]
impl Eq for YuvData
impl Hash for YuvData
[src]
impl Hash for YuvData
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for YuvData
[src]
impl PartialEq for YuvData