Struct glutin::PixelFormat [] [src]

pub struct PixelFormat {
    pub hardware_accelerated: bool,
    pub color_bits: u8,
    pub alpha_bits: u8,
    pub depth_bits: u8,
    pub stencil_bits: u8,
    pub stereoscopy: bool,
    pub double_buffer: bool,
    pub multisampling: Option<u16>,
    pub srgb: bool,
}

Describes a possible format. Unused.

Fields

hardware_accelerated: bool color_bits: u8 alpha_bits: u8 depth_bits: u8 stencil_bits: u8 stereoscopy: bool double_buffer: bool multisampling: Option<u16> srgb: bool

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 Debug for PixelFormat
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.