Enum bgfx_rs::static_lib::RenderFrame
source · #[repr(u32)]pub enum RenderFrame {
NoContext = 0,
Render = 1,
Timeout = 2,
Exiting = 3,
Count = 4,
}
Expand description
Render frame enum.
Variants§
NoContext = 0
Renderer context is not created yet.
Render = 1
Renderer context is created and rendering.
Timeout = 2
Renderer context wait for main thread signal timed out without rendering.
Exiting = 3
Renderer context is getting destroyed.
Count = 4
Number of entries in the enum
Trait Implementations§
source§impl Clone for RenderFrame
impl Clone for RenderFrame
source§fn clone(&self) -> RenderFrame
fn clone(&self) -> RenderFrame
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 moresource§impl Debug for RenderFrame
impl Debug for RenderFrame
source§impl PartialEq for RenderFrame
impl PartialEq for RenderFrame
source§fn eq(&self, other: &RenderFrame) -> bool
fn eq(&self, other: &RenderFrame) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderFrame
impl StructuralPartialEq for RenderFrame
Auto Trait Implementations§
impl Freeze for RenderFrame
impl RefUnwindSafe for RenderFrame
impl Send for RenderFrame
impl Sync for RenderFrame
impl Unpin for RenderFrame
impl UnwindSafe for RenderFrame
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