pub enum GLAttribute {
Show 17 variants
RedSize = 0,
GreenSize = 1,
BlueSize = 2,
AlphaSize = 3,
BufferSize = 4,
DoubleBuffer = 5,
DepthSize = 6,
StencilSize = 7,
AccumRedSize = 8,
AccumGreenSize = 9,
AccumBlueSize = 10,
AccumAlphaSize = 11,
Stereo = 12,
MultiSampleBuffers = 13,
MultiSampleSamples = 14,
AcceleratedVisual = 15,
SwapControl = 16,
}
Variants§
RedSize = 0
GreenSize = 1
BlueSize = 2
AlphaSize = 3
BufferSize = 4
DoubleBuffer = 5
DepthSize = 6
StencilSize = 7
AccumRedSize = 8
AccumGreenSize = 9
AccumBlueSize = 10
AccumAlphaSize = 11
Stereo = 12
MultiSampleBuffers = 13
MultiSampleSamples = 14
AcceleratedVisual = 15
SwapControl = 16
Trait Implementations§
Source§impl Clone for GLAttribute
impl Clone for GLAttribute
Source§fn clone(&self) -> GLAttribute
fn clone(&self) -> GLAttribute
Returns a copy 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 moreimpl Copy for GLAttribute
Auto Trait Implementations§
impl Freeze for GLAttribute
impl RefUnwindSafe for GLAttribute
impl Send for GLAttribute
impl Sync for GLAttribute
impl Unpin for GLAttribute
impl UnwindSafe for GLAttribute
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