pub enum TextureCacheCategory {
Atlas,
Standalone,
PictureTile,
RenderTarget,
}
Expand description
A little bit of extra information to make memory reports more useful
Variants§
Trait Implementations§
source§impl Clone for TextureCacheCategory
impl Clone for TextureCacheCategory
source§fn clone(&self) -> TextureCacheCategory
fn clone(&self) -> TextureCacheCategory
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 TextureCacheCategory
impl Debug for TextureCacheCategory
source§impl PartialEq for TextureCacheCategory
impl PartialEq for TextureCacheCategory
source§fn eq(&self, other: &TextureCacheCategory) -> bool
fn eq(&self, other: &TextureCacheCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TextureCacheCategory
impl Serialize for TextureCacheCategory
impl Copy for TextureCacheCategory
impl Eq for TextureCacheCategory
impl StructuralPartialEq for TextureCacheCategory
Auto Trait Implementations§
impl Freeze for TextureCacheCategory
impl RefUnwindSafe for TextureCacheCategory
impl Send for TextureCacheCategory
impl Sync for TextureCacheCategory
impl Unpin for TextureCacheCategory
impl UnwindSafe for TextureCacheCategory
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