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