Enum dgl::PixelFormat
[−]
[src]
pub enum PixelFormat { Index(u8), Rgb(RgbFormat), }
Pixel format description.
Variants
Index(u8)
Rgb(RgbFormat)
Methods
impl PixelFormat
[src]
fn satisfies(&self, spec: &PixelFormat) -> bool
fn total_bits(&self) -> u32
Trait Implementations
impl Clone for PixelFormat
[src]
fn clone(&self) -> PixelFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for PixelFormat
[src]
impl Debug for PixelFormat
[src]
impl Eq for PixelFormat
[src]
impl PartialEq for PixelFormat
[src]
fn eq(&self, __arg_0: &PixelFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PixelFormat) -> bool
This method tests for !=
.
impl Default for PixelFormat
[src]
fn default() -> PixelFormat
Returns the "default value" for a type. Read more