[][src]Enum spirv_headers::SamplerAddressingMode

#[repr(u32)]pub enum SamplerAddressingMode {
    None,
    ClampToEdge,
    Clamp,
    Repeat,
    RepeatMirrored,
}

/// SPIR-V operand kind: SamplerAddressingMode

Variants

None
ClampToEdge
Clamp
Repeat
RepeatMirrored

Methods

impl SamplerAddressingMode[src]

pub fn required_capabilities(self) -> &'static [Capability][src]

Trait Implementations

impl Clone for SamplerAddressingMode[src]

impl Copy for SamplerAddressingMode[src]

impl Debug for SamplerAddressingMode[src]

impl Eq for SamplerAddressingMode[src]

impl FromPrimitive for SamplerAddressingMode[src]

impl Hash for SamplerAddressingMode[src]

impl Ord for SamplerAddressingMode[src]

impl PartialEq<SamplerAddressingMode> for SamplerAddressingMode[src]

impl PartialOrd<SamplerAddressingMode> for SamplerAddressingMode[src]

impl StructuralEq for SamplerAddressingMode[src]

impl StructuralPartialEq for SamplerAddressingMode[src]

Auto Trait Implementations

impl RefUnwindSafe for SamplerAddressingMode

impl Send for SamplerAddressingMode

impl Sync for SamplerAddressingMode

impl Unpin for SamplerAddressingMode

impl UnwindSafe for SamplerAddressingMode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.