pub enum PixelDataType {
Show 18 variants
Byte,
UByte,
Short,
UShort,
Int,
UInt,
Float,
UByte3_3_2,
UByte2_3_3Rev,
UShort5_6_5,
UShort5_6_5Rev,
UShort4_4_4_4,
UShort5_5_5_1,
UShort1_5_5_5Rev,
UInt8_8_8_8,
UInt8_8_8_8Rev,
UInt10_10_10_2,
UInt2_10_10_10Rev,
}Variants§
Byte
UByte
Short
UShort
Int
UInt
Float
UByte3_3_2
UByte2_3_3Rev
UShort5_6_5
UShort5_6_5Rev
UShort4_4_4_4
UShort5_5_5_1
UShort1_5_5_5Rev
UInt8_8_8_8
UInt8_8_8_8Rev
UInt10_10_10_2
UInt2_10_10_10Rev
Trait Implementations§
Source§impl Clone for PixelDataType
impl Clone for PixelDataType
Source§fn clone(&self) -> PixelDataType
fn clone(&self) -> PixelDataType
Returns a duplicate 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 PixelDataType
impl Debug for PixelDataType
Source§impl Default for PixelDataType
impl Default for PixelDataType
Source§fn default() -> PixelDataType
fn default() -> PixelDataType
Returns the “default value” for a type. Read more
Source§impl Ord for PixelDataType
impl Ord for PixelDataType
Source§fn cmp(&self, other: &PixelDataType) -> Ordering
fn cmp(&self, other: &PixelDataType) -> Ordering
1.21.0 · 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 PixelDataType
impl PartialEq for PixelDataType
Source§impl PartialOrd for PixelDataType
impl PartialOrd for PixelDataType
impl Copy for PixelDataType
impl Eq for PixelDataType
impl StructuralPartialEq for PixelDataType
Auto Trait Implementations§
impl Freeze for PixelDataType
impl RefUnwindSafe for PixelDataType
impl Send for PixelDataType
impl Sync for PixelDataType
impl Unpin for PixelDataType
impl UnwindSafe for PixelDataType
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