Enum gbm::Format
[−]
[src]
pub enum Format {
C8,
R8,
GR88,
RGB332,
BGR233,
XRGB4444,
XBGR4444,
RGBX4444,
BGRX4444,
ARGB4444,
ABGR4444,
RGBA4444,
BGRA4444,
XRGB1555,
XBGR1555,
RGBX5551,
BGRX5551,
ARGB1555,
ABGR1555,
RGBA5551,
BGRA5551,
RGB565,
BGR565,
XRGB8888,
XBGR8888,
RGBX8888,
BGRX8888,
ARGB8888,
ABGR8888,
RGBA8888,
BGRA8888,
XRGB2101010,
XBGR2101010,
RGBX1010102,
BGRX1010102,
ARGB2101010,
ABGR2101010,
RGBA1010102,
BGRA1010102,
YUYV,
YVYU,
UYVY,
VYUY,
AYUV,
}Possible pixel formats used
Variants
C8R8GR88RGB332BGR233XRGB4444XBGR4444RGBX4444BGRX4444ARGB4444ABGR4444RGBA4444BGRA4444XRGB1555XBGR1555RGBX5551BGRX5551ARGB1555ABGR1555RGBA5551BGRA5551RGB565BGR565XRGB8888XBGR8888RGBX8888BGRX8888ARGB8888ABGR8888RGBA8888BGRA8888XRGB2101010XBGR2101010RGBX1010102BGRX1010102ARGB2101010ABGR2101010RGBA1010102BGRA1010102YUYVYVYUUYVYVYUYAYUV
Trait Implementations
impl Debug for Format[src]
impl Clone for Format[src]
fn clone(&self) -> Format[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Format[src]
impl PartialEq for Format[src]
fn eq(&self, __arg_0: &Format) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.