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§fn eq(&self, other: &SamplerAddressingMode) -> bool
fn eq(&self, other: &SamplerAddressingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SamplerAddressingMode
impl PartialOrd for SamplerAddressingMode
source§fn partial_cmp(&self, other: &SamplerAddressingMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerAddressingMode) -> 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 moreimpl 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