#[repr(C, i32)]pub enum PixelFormatAttribute {
End = 0,
DrawToWindow(IntegerBool),
SupportOpenGL(IntegerBool),
DoubleBuffer(IntegerBool),
Acceleration(Acceleration),
PixelType(PixelType),
ColorBits(i32),
DepthBits(i32),
AlphaBits(i32),
StencilBits(i32),
SampleBuffers(IntegerBool),
Samples(i32),
}Expand description
Various attributes that can be used in choosing a pixel format.
Variants§
End = 0
DrawToWindow(IntegerBool)
SupportOpenGL(IntegerBool)
DoubleBuffer(IntegerBool)
Acceleration(Acceleration)
PixelType(PixelType)
ColorBits(i32)
DepthBits(i32)
AlphaBits(i32)
StencilBits(i32)
SampleBuffers(IntegerBool)
Samples(i32)
Trait Implementations§
Source§impl Clone for PixelFormatAttribute
impl Clone for PixelFormatAttribute
Source§fn clone(&self) -> PixelFormatAttribute
fn clone(&self) -> PixelFormatAttribute
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 PartialEq for PixelFormatAttribute
impl PartialEq for PixelFormatAttribute
impl Copy for PixelFormatAttribute
impl Eq for PixelFormatAttribute
impl StructuralPartialEq for PixelFormatAttribute
Auto Trait Implementations§
impl Freeze for PixelFormatAttribute
impl RefUnwindSafe for PixelFormatAttribute
impl Send for PixelFormatAttribute
impl Sync for PixelFormatAttribute
impl Unpin for PixelFormatAttribute
impl UnwindSafe for PixelFormatAttribute
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