Enum spirv_utils::desc::SamplerAddressingMode [] [src]

pub enum SamplerAddressingMode {
    None,
    ClampToEdge,
    Clamp,
    Repeat,
    RepeatMirrored,
}

Variants

None
ClampToEdge
Clamp
Repeat
RepeatMirrored

Methods

impl SamplerAddressingMode

fn from(val: u32) -> Option<SamplerAddressingMode>

Trait Implementations

Derived Implementations

impl Hash for SamplerAddressingMode

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for SamplerAddressingMode

fn eq(&self, __arg_0: &SamplerAddressingMode) -> bool

fn ne(&self, __arg_0: &SamplerAddressingMode) -> bool

impl Debug for SamplerAddressingMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for SamplerAddressingMode

fn clone(&self) -> SamplerAddressingMode

fn clone_from(&mut self, source: &Self)

impl Copy for SamplerAddressingMode