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