#[non_exhaustive]#[repr(i32)]pub enum SamplerYcbcrRange {
ItuFull = 0,
ItuNarrow = 1,
}
Expand description
How the numeric range of the input data is converted.
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.
ItuFull = 0
The input values cover the full numeric range, and are interpreted according to the ITU “full range” rules.
ItuNarrow = 1
The input values cover only a subset of the numeric range, with the remainder reserved as headroom/footroom. The values are interpreted according to the ITU “narrow range” rules.
Trait Implementations§
source§impl Clone for SamplerYcbcrRange
impl Clone for SamplerYcbcrRange
source§fn clone(&self) -> SamplerYcbcrRange
fn clone(&self) -> SamplerYcbcrRange
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 SamplerYcbcrRange
impl Debug for SamplerYcbcrRange
source§impl From<SamplerYcbcrRange> for SamplerYcbcrRange
impl From<SamplerYcbcrRange> for SamplerYcbcrRange
source§fn from(val: SamplerYcbcrRange) -> Self
fn from(val: SamplerYcbcrRange) -> Self
Converts to this type from the input type.
source§impl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
source§impl PartialEq for SamplerYcbcrRange
impl PartialEq for SamplerYcbcrRange
source§fn eq(&self, other: &SamplerYcbcrRange) -> bool
fn eq(&self, other: &SamplerYcbcrRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<SamplerYcbcrRange> for SamplerYcbcrRange
impl TryFrom<SamplerYcbcrRange> for SamplerYcbcrRange
impl Copy for SamplerYcbcrRange
impl Eq for SamplerYcbcrRange
impl StructuralEq for SamplerYcbcrRange
impl StructuralPartialEq for SamplerYcbcrRange
Auto Trait Implementations§
impl RefUnwindSafe for SamplerYcbcrRange
impl Send for SamplerYcbcrRange
impl Sync for SamplerYcbcrRange
impl Unpin for SamplerYcbcrRange
impl UnwindSafe for SamplerYcbcrRange
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