Struct wgpu_hal::gles::egl::EglContext
source · struct EglContext {
instance: Arc<DynamicInstance<EGL1_4>>,
version: (i32, i32),
display: Display,
raw: Context,
pbuffer: Option<Surface>,
}
Fields§
§instance: Arc<DynamicInstance<EGL1_4>>
§version: (i32, i32)
§display: Display
§raw: Context
§pbuffer: Option<Surface>
Implementations§
source§impl EglContext
impl EglContext
fn make_current(&self)
fn unmake_current(&self)
Trait Implementations§
source§impl Clone for EglContext
impl Clone for EglContext
source§fn clone(&self) -> EglContext
fn clone(&self) -> EglContext
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 moreAuto Trait Implementations§
impl Freeze for EglContext
impl RefUnwindSafe for EglContext
impl !Send for EglContext
impl !Sync for EglContext
impl Unpin for EglContext
impl UnwindSafe for EglContext
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)