pub(crate) struct CurrentContextGuard {
egl_display: *const c_void,
old_egl_draw_surface: *const c_void,
old_egl_read_surface: *const c_void,
old_egl_context: *const c_void,
}
Fields§
§egl_display: *const c_void
§old_egl_draw_surface: *const c_void
§old_egl_read_surface: *const c_void
§old_egl_context: *const c_void
Implementations§
source§impl CurrentContextGuard
impl CurrentContextGuard
pub(crate) fn new() -> CurrentContextGuard
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CurrentContextGuard
impl RefUnwindSafe for CurrentContextGuard
impl !Send for CurrentContextGuard
impl !Sync for CurrentContextGuard
impl Unpin for CurrentContextGuard
impl UnwindSafe for CurrentContextGuard
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