#[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
)