pub struct AdapterContext {
pub glow_context: Context,
pub webgl2_context: WebGl2RenderingContext,
}
Available on
webgl
and gles
only.Expand description
A wrapper around a glow::Context
to provide a fake lock()
api that makes it compatible
with the AdapterContext
API from the EGL implementation.
Fields§
§glow_context: Context
§webgl2_context: WebGl2RenderingContext
Implementations§
Auto Trait Implementations§
impl !Freeze for AdapterContext
impl !RefUnwindSafe for AdapterContext
impl !Send for AdapterContext
impl !Sync for AdapterContext
impl Unpin for AdapterContext
impl UnwindSafe for AdapterContext
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