#[non_exhaustive]#[repr(u8)]pub enum DataType {
CodeString2Bit = 16,
CodeString4Bit = 17,
CodeString8Bit = 18,
MapTable2To4 = 32,
MapTable2To8 = 33,
MapTable4To8 = 34,
EndOfLine = 240,
Reserved(u8),
}Expand description
Data type for pixel-data sub-blocks as defined in Table 21.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CodeString2Bit = 16
2-bit/pixel code string.
CodeString4Bit = 17
4-bit/pixel code string.
CodeString8Bit = 18
8-bit/pixel code string.
MapTable2To4 = 32
2-to-4-bit map table (2 bytes).
MapTable2To8 = 33
2-to-8-bit map table (4 bytes).
MapTable4To8 = 34
4-to-8-bit map table (16 bytes).
EndOfLine = 240
End of object line code (0 bytes of data).
Reserved(u8)
Reserved.
Implementations§
Trait Implementations§
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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