#[repr(u32)]pub enum AtlasFormat {
Unknown = 0,
Alpha = 1,
Intensity = 2,
LuminanceAlpha = 3,
RGB565 = 4,
RGBA4444 = 5,
RGB888 = 6,
RGBA8888 = 7,
}Variants§
Unknown = 0
Alpha = 1
Intensity = 2
LuminanceAlpha = 3
RGB565 = 4
RGBA4444 = 5
RGB888 = 6
RGBA8888 = 7
Trait Implementations§
Source§impl Clone for AtlasFormat
impl Clone for AtlasFormat
Source§fn clone(&self) -> AtlasFormat
fn clone(&self) -> AtlasFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AtlasFormat
Source§impl Debug for AtlasFormat
impl Debug for AtlasFormat
impl Eq for AtlasFormat
Source§impl From<u32> for AtlasFormat
impl From<u32> for AtlasFormat
Source§fn from(e: spAtlasFormat) -> Self
fn from(e: spAtlasFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for AtlasFormat
impl Hash for AtlasFormat
Source§impl Ord for AtlasFormat
impl Ord for AtlasFormat
Source§fn cmp(&self, other: &AtlasFormat) -> Ordering
fn cmp(&self, other: &AtlasFormat) -> Ordering
1.21.0 (const: unstable) · 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 for AtlasFormat
impl PartialEq for AtlasFormat
Source§fn eq(&self, other: &AtlasFormat) -> bool
fn eq(&self, other: &AtlasFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AtlasFormat
impl PartialOrd for AtlasFormat
impl StructuralPartialEq for AtlasFormat
Auto Trait Implementations§
impl Freeze for AtlasFormat
impl RefUnwindSafe for AtlasFormat
impl Send for AtlasFormat
impl Sync for AtlasFormat
impl Unpin for AtlasFormat
impl UnsafeUnpin for AtlasFormat
impl UnwindSafe for AtlasFormat
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