pub struct SamplerYcbcrRange(/* private fields */);
Expand description
Implementations§
Source§impl SamplerYcbcrRange
impl SamplerYcbcrRange
Sourcepub const ITU_NARROW: Self = _
pub const ITU_NARROW: Self = _
Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240
Source§impl SamplerYcbcrRange
impl SamplerYcbcrRange
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const ITU_FULL_KHR: Self = Self::ITU_FULL
pub const ITU_NARROW_KHR: Self = Self::ITU_NARROW
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 Default for SamplerYcbcrRange
impl Default for SamplerYcbcrRange
Source§fn default() -> SamplerYcbcrRange
fn default() -> SamplerYcbcrRange
Returns the “default value” for a type. Read more
Source§impl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
Source§impl Ord for SamplerYcbcrRange
impl Ord for SamplerYcbcrRange
Source§fn cmp(&self, other: &SamplerYcbcrRange) -> Ordering
fn cmp(&self, other: &SamplerYcbcrRange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SamplerYcbcrRange
impl PartialEq for SamplerYcbcrRange
Source§impl PartialOrd for SamplerYcbcrRange
impl PartialOrd for SamplerYcbcrRange
impl Copy for SamplerYcbcrRange
impl Eq for SamplerYcbcrRange
impl StructuralPartialEq for SamplerYcbcrRange
Auto Trait Implementations§
impl Freeze for SamplerYcbcrRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)