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