Struct ash::vk::SamplerAddressMode  
source · #[repr(transparent)]pub struct SamplerAddressMode(_);Expand description
Implementations§
source§impl SamplerAddressMode
 
impl SamplerAddressMode
pub const REPEAT: Self = _
pub const MIRRORED_REPEAT: Self = _
pub const CLAMP_TO_EDGE: Self = _
pub const CLAMP_TO_BORDER: Self = _
source§impl SamplerAddressMode
 
impl SamplerAddressMode
Generated from ‘VK_KHR_sampler_mirror_clamp_to_edge’
sourcepub const MIRROR_CLAMP_TO_EDGE: Self = _
 
pub const MIRROR_CLAMP_TO_EDGE: Self = _
Note that this defines what was previously a core enum, and so uses the ‘value’ attribute rather than ‘offset’, and does not have a suffix. This is a special case, and should not be repeated
pub const MIRROR_CLAMP_TO_EDGE_KHR: Self = Self::MIRROR_CLAMP_TO_EDGE
👎Deprecated: Alias introduced for consistency with extension suffixing rules
Trait Implementations§
source§impl Clone for SamplerAddressMode
 
impl Clone for SamplerAddressMode
source§fn clone(&self) -> SamplerAddressMode
 
fn clone(&self) -> SamplerAddressMode
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 Debug for SamplerAddressMode
 
impl Debug for SamplerAddressMode
source§impl Default for SamplerAddressMode
 
impl Default for SamplerAddressMode
source§fn default() -> SamplerAddressMode
 
fn default() -> SamplerAddressMode
Returns the “default value” for a type. Read more
source§impl Hash for SamplerAddressMode
 
impl Hash for SamplerAddressMode
source§impl Ord for SamplerAddressMode
 
impl Ord for SamplerAddressMode
source§fn cmp(&self, other: &SamplerAddressMode) -> Ordering
 
fn cmp(&self, other: &SamplerAddressMode) -> 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<SamplerAddressMode> for SamplerAddressMode
 
impl PartialEq<SamplerAddressMode> for SamplerAddressMode
source§fn eq(&self, other: &SamplerAddressMode) -> bool
 
fn eq(&self, other: &SamplerAddressMode) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SamplerAddressMode> for SamplerAddressMode
 
impl PartialOrd<SamplerAddressMode> for SamplerAddressMode
source§fn partial_cmp(&self, other: &SamplerAddressMode) -> Option<Ordering>
 
fn partial_cmp(&self, other: &SamplerAddressMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read more