pub struct NativeGLContext { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Drop for NativeGLContext
impl Drop for NativeGLContext
Source§impl NativeGLContextMethods for NativeGLContext
impl NativeGLContextMethods for NativeGLContext
type Handle = NativeGLContextHandle
fn get_proc_address(addr: &str) -> *const ()
fn current_handle() -> Option<Self::Handle>
fn current() -> Option<NativeGLContext>
fn is_current(&self) -> bool
fn handle(&self) -> NativeGLContextHandle
fn make_current(&self) -> Result<(), &'static str>
fn unbind(&self) -> Result<(), &'static str>
fn create_headless( api_type: &GlType, api_version: GLVersion, ) -> Result<Self, &'static str>
Auto Trait Implementations§
impl Freeze for NativeGLContext
impl RefUnwindSafe for NativeGLContext
impl !Send for NativeGLContext
impl !Sync for NativeGLContext
impl Unpin for NativeGLContext
impl UnwindSafe for NativeGLContext
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