Struct fermium::video::SDL_GLContext
source · #[repr(transparent)]pub struct SDL_GLContext(pub *mut c_void);
Expand description
A handle to an OpenGL context.
Tuple Fields§
§0: *mut c_void
Implementations§
Trait Implementations§
source§impl Clone for SDL_GLContext
impl Clone for SDL_GLContext
source§fn clone(&self) -> SDL_GLContext
fn clone(&self) -> SDL_GLContext
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 moresource§impl Debug for SDL_GLContext
impl Debug for SDL_GLContext
impl Copy for SDL_GLContext
Auto Trait Implementations§
impl RefUnwindSafe for SDL_GLContext
impl !Send for SDL_GLContext
impl !Sync for SDL_GLContext
impl Unpin for SDL_GLContext
impl UnwindSafe for SDL_GLContext
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