pub struct EglContext { /* private fields */ }Expand description
This structure is returned by EglBucket::make_current and is used to automatically release
EGL context when this structure goes out of the scope.
Implementations§
Source§impl EglContext
impl EglContext
Sourcepub fn swap_buffers(&self) -> Result<(), GraphicsError>
pub fn swap_buffers(&self) -> Result<(), GraphicsError>
Swap buffers.
Trait Implementations§
Auto 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