Enum spirv::SamplerAddressingMode
source · #[repr(u32)]pub enum SamplerAddressingMode {
None = 0,
ClampToEdge = 1,
Clamp = 2,
Repeat = 3,
RepeatMirrored = 4,
}
Expand description
SPIR-V operand kind: SamplerAddressingMode
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SamplerAddressingMode
impl Clone for SamplerAddressingMode
source§fn clone(&self) -> SamplerAddressingMode
fn clone(&self) -> SamplerAddressingMode
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 SamplerAddressingMode
impl Debug for SamplerAddressingMode
source§impl FromStr for SamplerAddressingMode
impl FromStr for SamplerAddressingMode
source§impl Hash for SamplerAddressingMode
impl Hash for SamplerAddressingMode
source§impl Ord for SamplerAddressingMode
impl Ord for SamplerAddressingMode
source§fn cmp(&self, other: &SamplerAddressingMode) -> Ordering
fn cmp(&self, other: &SamplerAddressingMode) -> 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 for SamplerAddressingMode
impl PartialEq for SamplerAddressingMode
source§impl PartialOrd for SamplerAddressingMode
impl PartialOrd for SamplerAddressingMode
impl Copy for SamplerAddressingMode
impl Eq for SamplerAddressingMode
impl StructuralPartialEq for SamplerAddressingMode
Auto Trait Implementations§
impl Freeze for SamplerAddressingMode
impl RefUnwindSafe for SamplerAddressingMode
impl Send for SamplerAddressingMode
impl Sync for SamplerAddressingMode
impl Unpin for SamplerAddressingMode
impl UnwindSafe for SamplerAddressingMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)