#[repr(u8)]pub enum PsCtrlClrFormat {
Show 64 variants
_RESERVED_0 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
RGB888_ARGB8888 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
RGB555_ARGB1555 = 12,
RGB444_ARGB4444 = 13,
RGB565 = 14,
_RESERVED_f = 15,
YUV1P444 = 16,
_RESERVED_11 = 17,
UYVY1P422 = 18,
VYUY1P422 = 19,
Y8 = 20,
Y4 = 21,
_RESERVED_16 = 22,
_RESERVED_17 = 23,
YUV2P422 = 24,
YUV2P420 = 25,
YVU2P422 = 26,
YVU2P420 = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
YUV422 = 30,
YUV420 = 31,
_RESERVED_20 = 32,
_RESERVED_21 = 33,
_RESERVED_22 = 34,
_RESERVED_23 = 35,
RGBA8888 = 36,
_RESERVED_25 = 37,
_RESERVED_26 = 38,
_RESERVED_27 = 39,
_RESERVED_28 = 40,
_RESERVED_29 = 41,
_RESERVED_2a = 42,
_RESERVED_2b = 43,
RGBA5551 = 44,
RGBA4444 = 45,
_RESERVED_2e = 46,
_RESERVED_2f = 47,
_RESERVED_30 = 48,
_RESERVED_31 = 49,
_RESERVED_32 = 50,
_RESERVED_33 = 51,
_RESERVED_34 = 52,
_RESERVED_35 = 53,
_RESERVED_36 = 54,
_RESERVED_37 = 55,
_RESERVED_38 = 56,
_RESERVED_39 = 57,
_RESERVED_3a = 58,
_RESERVED_3b = 59,
_RESERVED_3c = 60,
_RESERVED_3d = 61,
_RESERVED_3e = 62,
_RESERVED_3f = 63,
}Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
RGB888_ARGB8888 = 4
32-bit pixels (unpacked 24-bit format with/without alpha at high 8bits)
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
RGB555_ARGB1555 = 12
16-bit pixels with/without alpha at high 1bit
RGB444_ARGB4444 = 13
16-bit pixels with/without alpha at high 4 bits
RGB565 = 14
16-bit pixels
_RESERVED_f = 15
YUV1P444 = 16
32-bit pixels (1-plane XYUV unpacked)
_RESERVED_11 = 17
UYVY1P422 = 18
16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
VYUY1P422 = 19
16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
Y8 = 20
8-bit monochrome pixels (1-plane Y luma output)
Y4 = 21
4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
_RESERVED_16 = 22
_RESERVED_17 = 23
YUV2P422 = 24
16-bit pixels (2-plane UV interleaved bytes)
YUV2P420 = 25
16-bit pixels (2-plane UV)
YVU2P422 = 26
16-bit pixels (2-plane VU interleaved bytes)
YVU2P420 = 27
16-bit pixels (2-plane VU)
_RESERVED_1c = 28
_RESERVED_1d = 29
YUV422 = 30
16-bit pixels (3-plane format)
YUV420 = 31
16-bit pixels (3-plane format)
_RESERVED_20 = 32
_RESERVED_21 = 33
_RESERVED_22 = 34
_RESERVED_23 = 35
RGBA8888 = 36
2-bit pixels with alpha at the low 8 bits
_RESERVED_25 = 37
_RESERVED_26 = 38
_RESERVED_27 = 39
_RESERVED_28 = 40
_RESERVED_29 = 41
_RESERVED_2a = 42
_RESERVED_2b = 43
RGBA5551 = 44
16-bit pixels with alpha at the low 1bits
RGBA4444 = 45
16-bit pixels with alpha at the low 4 bits
_RESERVED_2e = 46
_RESERVED_2f = 47
_RESERVED_30 = 48
_RESERVED_31 = 49
_RESERVED_32 = 50
_RESERVED_33 = 51
_RESERVED_34 = 52
_RESERVED_35 = 53
_RESERVED_36 = 54
_RESERVED_37 = 55
_RESERVED_38 = 56
_RESERVED_39 = 57
_RESERVED_3a = 58
_RESERVED_3b = 59
_RESERVED_3c = 60
_RESERVED_3d = 61
_RESERVED_3e = 62
_RESERVED_3f = 63
Implementations§
Trait Implementations§
Source§impl Clone for PsCtrlClrFormat
impl Clone for PsCtrlClrFormat
Source§fn clone(&self) -> PsCtrlClrFormat
fn clone(&self) -> PsCtrlClrFormat
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 PsCtrlClrFormat
impl Debug for PsCtrlClrFormat
Source§impl From<PsCtrlClrFormat> for u8
impl From<PsCtrlClrFormat> for u8
Source§fn from(val: PsCtrlClrFormat) -> u8
fn from(val: PsCtrlClrFormat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PsCtrlClrFormat
impl From<u8> for PsCtrlClrFormat
Source§fn from(val: u8) -> PsCtrlClrFormat
fn from(val: u8) -> PsCtrlClrFormat
Converts to this type from the input type.
Source§impl Ord for PsCtrlClrFormat
impl Ord for PsCtrlClrFormat
Source§fn cmp(&self, other: &PsCtrlClrFormat) -> Ordering
fn cmp(&self, other: &PsCtrlClrFormat) -> 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 PsCtrlClrFormat
impl PartialEq for PsCtrlClrFormat
Source§impl PartialOrd for PsCtrlClrFormat
impl PartialOrd for PsCtrlClrFormat
impl Copy for PsCtrlClrFormat
impl Eq for PsCtrlClrFormat
impl StructuralPartialEq for PsCtrlClrFormat
Auto Trait Implementations§
impl Freeze for PsCtrlClrFormat
impl RefUnwindSafe for PsCtrlClrFormat
impl Send for PsCtrlClrFormat
impl Sync for PsCtrlClrFormat
impl Unpin for PsCtrlClrFormat
impl UnwindSafe for PsCtrlClrFormat
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