pub enum RawContext {
Egl(*const c_void),
Glx(*const c_void),
}
Expand description
Raw context.
Variants§
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 for RawContext
impl PartialEq for RawContext
impl Copy for RawContext
impl Eq for RawContext
impl StructuralPartialEq for RawContext
Auto Trait Implementations§
impl Freeze for RawContext
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