[−][src]Struct sdl2::video::gl_attr::ContextFlagsBuilder
The type that allows you to build a OpenGL context configuration.
Methods
impl<'a> ContextFlagsBuilder<'a>
[src]
pub fn set(&self)
[src]
Finishes the builder and applies the GL context flags to the GL context.
pub fn debug(&mut self) -> &mut ContextFlagsBuilder<'a>
[src]
Sets the context into "debug" mode.
pub fn forward_compatible(&mut self) -> &mut ContextFlagsBuilder<'a>
[src]
Sets the context into "forward compatible" mode.
pub fn robust_access(&mut self) -> &mut ContextFlagsBuilder<'a>
[src]
pub fn reset_isolation(&mut self) -> &mut ContextFlagsBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ContextFlagsBuilder<'a>
impl<'a> !Send for ContextFlagsBuilder<'a>
impl<'a> !Sync for ContextFlagsBuilder<'a>
impl<'a> Unpin for ContextFlagsBuilder<'a>
impl<'a> !UnwindSafe for ContextFlagsBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,