#[non_exhaustive]#[repr(u8)]pub enum DynamicRangeColourGamut {
SdrBt709 = 0,
SdrBt2020 = 1,
HdrBt2100Pq = 2,
HdrBt2100Hlg = 3,
Reserved(u8),
}Expand description
Dynamic range and colour gamut as defined in Table 34.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SdrBt709 = 0
SDR; ITU-R BT.709.
SdrBt2020 = 1
SDR; ITU-R BT.2020-2.
HdrBt2100Pq = 2
HDR; ITU-R BT.2100-1 PQ.
HdrBt2100Hlg = 3
HDR; ITU-R BT.2100-1 HLG.
Reserved(u8)
Reserved.
Implementations§
Trait Implementations§
Source§impl Clone for DynamicRangeColourGamut
impl Clone for DynamicRangeColourGamut
Source§fn clone(&self) -> DynamicRangeColourGamut
fn clone(&self) -> DynamicRangeColourGamut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DynamicRangeColourGamut
Source§impl Debug for DynamicRangeColourGamut
impl Debug for DynamicRangeColourGamut
Source§impl Display for DynamicRangeColourGamut
impl Display for DynamicRangeColourGamut
impl Eq for DynamicRangeColourGamut
Source§impl PartialEq for DynamicRangeColourGamut
impl PartialEq for DynamicRangeColourGamut
Source§impl Serialize for DynamicRangeColourGamut
impl Serialize for DynamicRangeColourGamut
impl StructuralPartialEq for DynamicRangeColourGamut
Auto Trait Implementations§
impl Freeze for DynamicRangeColourGamut
impl RefUnwindSafe for DynamicRangeColourGamut
impl Send for DynamicRangeColourGamut
impl Sync for DynamicRangeColourGamut
impl Unpin for DynamicRangeColourGamut
impl UnsafeUnpin for DynamicRangeColourGamut
impl UnwindSafe for DynamicRangeColourGamut
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