Enum webrender::device::gl::TextureFilter
source · #[repr(u32)]pub enum TextureFilter {
Nearest = 0,
Linear = 1,
Trilinear = 2,
}
Variants§
Trait Implementations§
source§impl Clone for TextureFilter
impl Clone for TextureFilter
source§fn clone(&self) -> TextureFilter
fn clone(&self) -> TextureFilter
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 TextureFilter
impl Debug for TextureFilter
source§impl PartialEq for TextureFilter
impl PartialEq for TextureFilter
source§fn eq(&self, other: &TextureFilter) -> bool
fn eq(&self, other: &TextureFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TextureFilter
impl Serialize for TextureFilter
impl Copy for TextureFilter
impl Eq for TextureFilter
impl StructuralPartialEq for TextureFilter
Auto Trait Implementations§
impl Freeze for TextureFilter
impl RefUnwindSafe for TextureFilter
impl Send for TextureFilter
impl Sync for TextureFilter
impl Unpin for TextureFilter
impl UnwindSafe for TextureFilter
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more