Struct screen_13::prelude::vk::SamplerMipmapMode
source · pub struct SamplerMipmapMode(_);Expand description
Implementations
sourceimpl 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
sourceimpl Clone for SamplerMipmapMode
impl Clone for SamplerMipmapMode
sourcefn clone(&self) -> SamplerMipmapMode
fn clone(&self) -> SamplerMipmapMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SamplerMipmapMode
impl Debug for SamplerMipmapMode
sourceimpl Default for SamplerMipmapMode
impl Default for SamplerMipmapMode
sourcefn default() -> SamplerMipmapMode
fn default() -> SamplerMipmapMode
Returns the “default value” for a type. Read more
sourceimpl Hash for SamplerMipmapMode
impl Hash for SamplerMipmapMode
sourceimpl Ord for SamplerMipmapMode
impl Ord for SamplerMipmapMode
sourcefn cmp(&self, other: &SamplerMipmapMode) -> Ordering
fn cmp(&self, other: &SamplerMipmapMode) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SamplerMipmapMode> for SamplerMipmapMode
impl PartialEq<SamplerMipmapMode> for SamplerMipmapMode
sourcefn eq(&self, other: &SamplerMipmapMode) -> bool
fn eq(&self, other: &SamplerMipmapMode) -> bool
sourceimpl PartialOrd<SamplerMipmapMode> for SamplerMipmapMode
impl PartialOrd<SamplerMipmapMode> for SamplerMipmapMode
sourcefn partial_cmp(&self, other: &SamplerMipmapMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerMipmapMode) -> Option<Ordering>
1.0.0 · sourcefn 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 SamplerMipmapMode
impl Eq for SamplerMipmapMode
impl StructuralEq for SamplerMipmapMode
impl StructuralPartialEq for SamplerMipmapMode
Auto Trait Implementations
impl RefUnwindSafe for SamplerMipmapMode
impl Send for SamplerMipmapMode
impl Sync for SamplerMipmapMode
impl Unpin for SamplerMipmapMode
impl UnwindSafe for SamplerMipmapMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more