#[non_exhaustive]#[repr(u32)]pub enum VkSamplerAddressMode {
VK_SAMPLER_ADDRESS_MODE_REPEAT = 0,
VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
VK_SAMPLER_ADDRESS_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_ADDRESS_MODE_REPEAT = 0
VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSamplerAddressMode
impl VkSamplerAddressMode
pub const VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR: VkSamplerAddressMode = VkSamplerAddressMode::VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
Trait Implementations§
Source§impl Clone for VkSamplerAddressMode
impl Clone for VkSamplerAddressMode
Source§fn clone(&self) -> VkSamplerAddressMode
fn clone(&self) -> VkSamplerAddressMode
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 VkSamplerAddressMode
impl Debug for VkSamplerAddressMode
Source§impl Hash for VkSamplerAddressMode
impl Hash for VkSamplerAddressMode
Source§impl PartialEq for VkSamplerAddressMode
impl PartialEq for VkSamplerAddressMode
impl Copy for VkSamplerAddressMode
impl Eq for VkSamplerAddressMode
impl StructuralPartialEq for VkSamplerAddressMode
Auto Trait Implementations§
impl Freeze for VkSamplerAddressMode
impl RefUnwindSafe for VkSamplerAddressMode
impl Send for VkSamplerAddressMode
impl Sync for VkSamplerAddressMode
impl Unpin for VkSamplerAddressMode
impl UnwindSafe for VkSamplerAddressMode
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