pub enum GpuEnd {
Completed,
ContextLost,
}Expand description
How the GPU work waited on by crate::AfterGpu::push ended.
Variants§
Completed
The GPU finished the renderer’s work; GPU objects can be destroyed.
ContextLost
The renderer’s graphics objects were lost; forget GPU objects without destroying them.
Trait Implementations§
impl Copy for GpuEnd
impl Eq for GpuEnd
impl StructuralPartialEq for GpuEnd
Auto Trait Implementations§
impl Forget for GpuEnd
impl Freeze for GpuEnd
impl Move for GpuEnd
impl RefUnwindSafe for GpuEnd
impl Send for GpuEnd
impl Sync for GpuEnd
impl Unpin for GpuEnd
impl UnsafeUnpin for GpuEnd
impl UnwindSafe for GpuEnd
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