#[repr(i32)]
pub enum SamplerYcbcrRange {
ItuFull,
ItuNarrow,
}
Expand description
How the numeric range of the input data is converted.
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 more
sourceimpl 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
Performs the conversion.
sourceimpl Hash for SamplerYcbcrRange
impl Hash 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more