Enum rusty_spine::atlas::AtlasFilter
source · pub enum AtlasFilter {
UnknownFilter = 0,
Nearest = 1,
Linear = 2,
Mipmap = 3,
MipmapNearestNearest = 4,
MipmapLinearNearest = 5,
MipmapNearestLinear = 6,
MipmapLinearLinear = 7,
}
Expand description
The texture filter setting to use for an AtlasPage
.
Variants§
UnknownFilter = 0
Nearest = 1
Linear = 2
Mipmap = 3
MipmapNearestNearest = 4
MipmapLinearNearest = 5
MipmapNearestLinear = 6
MipmapLinearLinear = 7
Trait Implementations§
source§impl Clone for AtlasFilter
impl Clone for AtlasFilter
source§fn clone(&self) -> AtlasFilter
fn clone(&self) -> AtlasFilter
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 AtlasFilter
impl Debug for AtlasFilter
source§impl From<u32> for AtlasFilter
impl From<u32> for AtlasFilter
source§fn from(filter: spAtlasFilter) -> Self
fn from(filter: spAtlasFilter) -> Self
Converts to this type from the input type.
source§impl PartialEq for AtlasFilter
impl PartialEq for AtlasFilter
source§fn eq(&self, other: &AtlasFilter) -> bool
fn eq(&self, other: &AtlasFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AtlasFilter
impl Eq for AtlasFilter
impl StructuralPartialEq for AtlasFilter
Auto Trait Implementations§
impl Freeze for AtlasFilter
impl RefUnwindSafe for AtlasFilter
impl Send for AtlasFilter
impl Sync for AtlasFilter
impl Unpin for AtlasFilter
impl UnwindSafe for AtlasFilter
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