#[non_exhaustive]#[repr(u32)]pub enum VkSamplerMipmapMode {
VK_SAMPLER_MIPMAP_MODE_NEAREST = 0,
VK_SAMPLER_MIPMAP_MODE_LINEAR = 1,
VK_SAMPLER_MIPMAP_MODE_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_MIPMAP_MODE_NEAREST = 0
VK_SAMPLER_MIPMAP_MODE_LINEAR = 1
VK_SAMPLER_MIPMAP_MODE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkSamplerMipmapMode
impl Clone for VkSamplerMipmapMode
Source§fn clone(&self) -> VkSamplerMipmapMode
fn clone(&self) -> VkSamplerMipmapMode
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 VkSamplerMipmapMode
impl Debug for VkSamplerMipmapMode
Source§impl Hash for VkSamplerMipmapMode
impl Hash for VkSamplerMipmapMode
Source§impl PartialEq for VkSamplerMipmapMode
impl PartialEq for VkSamplerMipmapMode
impl Copy for VkSamplerMipmapMode
impl Eq for VkSamplerMipmapMode
impl StructuralPartialEq for VkSamplerMipmapMode
Auto Trait Implementations§
impl Freeze for VkSamplerMipmapMode
impl RefUnwindSafe for VkSamplerMipmapMode
impl Send for VkSamplerMipmapMode
impl Sync for VkSamplerMipmapMode
impl Unpin for VkSamplerMipmapMode
impl UnwindSafe for VkSamplerMipmapMode
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