Enum spirv::SamplerFilterMode
source · #[repr(u32)]pub enum SamplerFilterMode {
Nearest = 0,
Linear = 1,
}
Expand description
SPIR-V operand kind: SamplerFilterMode
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SamplerFilterMode
impl Clone for SamplerFilterMode
source§fn clone(&self) -> SamplerFilterMode
fn clone(&self) -> SamplerFilterMode
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 SamplerFilterMode
impl Debug for SamplerFilterMode
source§impl FromStr for SamplerFilterMode
impl FromStr for SamplerFilterMode
source§impl Hash for SamplerFilterMode
impl Hash for SamplerFilterMode
source§impl Ord for SamplerFilterMode
impl Ord for SamplerFilterMode
source§fn cmp(&self, other: &SamplerFilterMode) -> Ordering
fn cmp(&self, other: &SamplerFilterMode) -> 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 SamplerFilterMode
impl PartialEq for SamplerFilterMode
source§impl PartialOrd for SamplerFilterMode
impl PartialOrd for SamplerFilterMode
impl Copy for SamplerFilterMode
impl Eq for SamplerFilterMode
impl StructuralPartialEq for SamplerFilterMode
Auto Trait Implementations§
impl Freeze for SamplerFilterMode
impl RefUnwindSafe for SamplerFilterMode
impl Send for SamplerFilterMode
impl Sync for SamplerFilterMode
impl Unpin for SamplerFilterMode
impl UnwindSafe for SamplerFilterMode
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
)