#[repr(u8)]pub enum YuvColorSpace {
Rec601 = 0,
Rec709 = 1,
Rec2020 = 2,
Identity = 3,
}
Variants§
Implementations§
Source§impl YuvColorSpace
impl YuvColorSpace
pub fn with_range(self, range: ColorRange) -> YuvRangedColorSpace
Trait Implementations§
Source§impl Clone for YuvColorSpace
impl Clone for YuvColorSpace
Source§fn clone(&self) -> YuvColorSpace
fn clone(&self) -> YuvColorSpace
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 YuvColorSpace
impl Debug for YuvColorSpace
Source§impl Default for YuvColorSpace
impl Default for YuvColorSpace
Source§impl<'de> Deserialize<'de> for YuvColorSpace
impl<'de> Deserialize<'de> for YuvColorSpace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for YuvColorSpace
impl Hash for YuvColorSpace
Source§impl MallocSizeOf for YuvColorSpace
impl MallocSizeOf for YuvColorSpace
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for YuvColorSpace
impl PartialEq for YuvColorSpace
Source§impl Peek for YuvColorSpace
impl Peek for YuvColorSpace
Source§impl Poke for YuvColorSpace
impl Poke for YuvColorSpace
Source§impl Serialize for YuvColorSpace
impl Serialize for YuvColorSpace
impl Copy for YuvColorSpace
impl Eq for YuvColorSpace
impl StructuralPartialEq for YuvColorSpace
Auto Trait Implementations§
impl Freeze for YuvColorSpace
impl RefUnwindSafe for YuvColorSpace
impl Send for YuvColorSpace
impl Sync for YuvColorSpace
impl Unpin for YuvColorSpace
impl UnwindSafe for YuvColorSpace
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