#[non_exhaustive]#[repr(u32)]pub enum VkSamplerYcbcrRange {
VK_SAMPLER_YCBCR_RANGE_ITU_FULL = 0,
VK_SAMPLER_YCBCR_RANGE_ITU_NARROW = 1,
VK_SAMPLER_YCBCR_RANGE_MAX_ENUM = 2_147_483_647,
}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.
VK_SAMPLER_YCBCR_RANGE_ITU_FULL = 0
VK_SAMPLER_YCBCR_RANGE_ITU_NARROW = 1
VK_SAMPLER_YCBCR_RANGE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSamplerYcbcrRange
impl VkSamplerYcbcrRange
pub const VK_SAMPLER_YCBCR_RANGE_ITU_FULL_KHR: VkSamplerYcbcrRange = VkSamplerYcbcrRange::VK_SAMPLER_YCBCR_RANGE_ITU_FULL
Source§impl VkSamplerYcbcrRange
impl VkSamplerYcbcrRange
pub const VK_SAMPLER_YCBCR_RANGE_ITU_NARROW_KHR: VkSamplerYcbcrRange = VkSamplerYcbcrRange::VK_SAMPLER_YCBCR_RANGE_ITU_NARROW
Trait Implementations§
Source§impl Clone for VkSamplerYcbcrRange
impl Clone for VkSamplerYcbcrRange
Source§fn clone(&self) -> VkSamplerYcbcrRange
fn clone(&self) -> VkSamplerYcbcrRange
Returns a duplicate 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 VkSamplerYcbcrRange
impl Debug for VkSamplerYcbcrRange
Source§impl Hash for VkSamplerYcbcrRange
impl Hash for VkSamplerYcbcrRange
Source§impl PartialEq for VkSamplerYcbcrRange
impl PartialEq for VkSamplerYcbcrRange
impl Copy for VkSamplerYcbcrRange
impl Eq for VkSamplerYcbcrRange
impl StructuralPartialEq for VkSamplerYcbcrRange
Auto Trait Implementations§
impl Freeze for VkSamplerYcbcrRange
impl RefUnwindSafe for VkSamplerYcbcrRange
impl Send for VkSamplerYcbcrRange
impl Sync for VkSamplerYcbcrRange
impl Unpin for VkSamplerYcbcrRange
impl UnwindSafe for VkSamplerYcbcrRange
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