Struct screen_13::prelude::vk::SamplerMipmapMode
source · pub struct SamplerMipmapMode(_);Expand description
Implementations§
source§impl SamplerMipmapMode
impl SamplerMipmapMode
sourcepub const NEAREST: SamplerMipmapMode = Self(0)
pub const NEAREST: SamplerMipmapMode = Self(0)
Choose nearest mip level
sourcepub const LINEAR: SamplerMipmapMode = Self(1)
pub const LINEAR: SamplerMipmapMode = Self(1)
Linear filter between mip levels
Trait Implementations§
source§impl Clone for SamplerMipmapMode
impl Clone for SamplerMipmapMode
source§fn clone(&self) -> SamplerMipmapMode
fn clone(&self) -> SamplerMipmapMode
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 SamplerMipmapMode
impl Debug for SamplerMipmapMode
source§impl Default for SamplerMipmapMode
impl Default for SamplerMipmapMode
source§fn default() -> SamplerMipmapMode
fn default() -> SamplerMipmapMode
Returns the “default value” for a type. Read more
source§impl Hash for SamplerMipmapMode
impl Hash for SamplerMipmapMode
source§impl Ord for SamplerMipmapMode
impl Ord for SamplerMipmapMode
source§fn cmp(&self, other: &SamplerMipmapMode) -> Ordering
fn cmp(&self, other: &SamplerMipmapMode) -> 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<SamplerMipmapMode> for SamplerMipmapMode
impl PartialEq<SamplerMipmapMode> for SamplerMipmapMode
source§fn eq(&self, other: &SamplerMipmapMode) -> bool
fn eq(&self, other: &SamplerMipmapMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SamplerMipmapMode> for SamplerMipmapMode
impl PartialOrd<SamplerMipmapMode> for SamplerMipmapMode
source§fn partial_cmp(&self, other: &SamplerMipmapMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerMipmapMode) -> 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 more