Enum pigment64::TextureLUT
source · #[repr(u8)]pub enum TextureLUT {
None = 0,
Rgba16 = 2,
Ia16 = 3,
}
Variants§
Trait Implementations§
source§impl Clone for TextureLUT
impl Clone for TextureLUT
source§fn clone(&self) -> TextureLUT
fn clone(&self) -> TextureLUT
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 TextureLUT
impl Debug for TextureLUT
source§impl Hash for TextureLUT
impl Hash for TextureLUT
source§impl PartialEq for TextureLUT
impl PartialEq for TextureLUT
source§fn eq(&self, other: &TextureLUT) -> bool
fn eq(&self, other: &TextureLUT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for TextureLUT
impl TryFrom<u8> for TextureLUT
§type Error = TryFromPrimitiveError<TextureLUT>
type Error = TryFromPrimitiveError<TextureLUT>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for TextureLUT
impl TryFromPrimitive for TextureLUT
type Primitive = u8
type Error = TryFromPrimitiveError<TextureLUT>
const NAME: &'static str = "TextureLUT"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TextureLUT
impl Eq for TextureLUT
impl StructuralPartialEq for TextureLUT
Auto Trait Implementations§
impl Freeze for TextureLUT
impl RefUnwindSafe for TextureLUT
impl Send for TextureLUT
impl Sync for TextureLUT
impl Unpin for TextureLUT
impl UnwindSafe for TextureLUT
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