#[non_exhaustive]
#[repr(i32)]
pub enum SamplerYcbcrRange {
ItuFull,
ItuNarrow,
}
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
The input values cover the full numeric range, and are interpreted according to the ITU “full range” rules.
ItuNarrow
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
sourceimpl Clone for SamplerYcbcrRange
impl Clone for SamplerYcbcrRange
sourcefn clone(&self) -> SamplerYcbcrRange
fn clone(&self) -> SamplerYcbcrRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SamplerYcbcrRange
impl Debug for SamplerYcbcrRange
sourceimpl From<SamplerYcbcrRange> for SamplerYcbcrRange
impl From<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn from(val: SamplerYcbcrRange) -> Self
fn from(val: SamplerYcbcrRange) -> Self
Converts to this type from the input type.
sourceimpl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
sourceimpl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn eq(&self, other: &SamplerYcbcrRange) -> bool
fn eq(&self, other: &SamplerYcbcrRange) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more