Enum glutin::context::RawContext
source · pub enum RawContext {
Egl(*const c_void),
Glx(*const c_void),
}
Expand description
Raw context.
Variants§
Egl(*const c_void)
Available on
egl_backend
only.Raw EGL context.
Glx(*const c_void)
Available on
glx_backend
only.Raw GLX context.
Trait Implementations§
source§impl Clone for RawContext
impl Clone for RawContext
source§fn clone(&self) -> RawContext
fn clone(&self) -> RawContext
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 RawContext
impl Debug for RawContext
source§impl PartialEq<RawContext> for RawContext
impl PartialEq<RawContext> for RawContext
source§fn eq(&self, other: &RawContext) -> bool
fn eq(&self, other: &RawContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RawContext
impl Eq for RawContext
impl StructuralEq for RawContext
impl StructuralPartialEq for RawContext
Auto Trait Implementations§
impl RefUnwindSafe for RawContext
impl !Send for RawContext
impl !Sync for RawContext
impl Unpin for RawContext
impl UnwindSafe for RawContext
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