pub struct GlConfig {
pub version: (u8, u8),
pub profile: Profile,
pub red_bits: u8,
pub blue_bits: u8,
pub green_bits: u8,
pub alpha_bits: u8,
pub depth_bits: u8,
pub stencil_bits: u8,
pub samples: Option<u8>,
pub srgb: bool,
pub double_buffer: bool,
pub vsync: bool,
}Fields§
§version: (u8, u8)§profile: Profile§red_bits: u8§blue_bits: u8§green_bits: u8§alpha_bits: u8§depth_bits: u8§stencil_bits: u8§samples: Option<u8>§srgb: bool§double_buffer: bool§vsync: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for GlConfig
impl RefUnwindSafe for GlConfig
impl Send for GlConfig
impl Sync for GlConfig
impl Unpin for GlConfig
impl UnwindSafe for GlConfig
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