Struct qt_gui::q_pixel_format::ByteOrder
source · pub struct ByteOrder(/* private fields */);
Expand description
This enum describes the ByteOrder of the pixel format. This enum is mostly ignored but have some use cases for YUV formats. BGR formats have their own color model, and should not be described by using the opposite endianness on an RGB format.
C++ enum: QPixelFormat::ByteOrder
.
This enum describes the ByteOrder of the pixel format. This enum is mostly ignored but have some use cases for YUV formats. BGR formats have their own color model, and should not be described by using the opposite endianness on an RGB format.
Implementations§
source§impl ByteOrder
impl ByteOrder
sourcepub const LittleEndian: ByteOrder = _
pub const LittleEndian: ByteOrder = _
The byte order is little endian. (C++ enum variant: LittleEndian = 0
)
sourcepub const BigEndian: ByteOrder = _
pub const BigEndian: ByteOrder = _
The byte order is big endian. (C++ enum variant: BigEndian = 1
)
sourcepub const CurrentSystemEndian: ByteOrder = _
pub const CurrentSystemEndian: ByteOrder = _
This enum will not be stored, but is converted in the constructor to the endian enum that matches the enum of the current system. (C++ enum variant: CurrentSystemEndian = 2
)