pub enum RenderState {
Idle,
Running,
Suspended,
}Expand description
Where the render is in its lifecycle.
Variants§
Idle
Not rendering. The state before Start and after Stop.
Running
Rendering.
Suspended
Started, then suspended. Resume returns it to
RenderState::Running.
Trait Implementations§
Source§impl Clone for RenderState
impl Clone for RenderState
impl Copy for RenderState
Source§impl Debug for RenderState
impl Debug for RenderState
Source§impl Default for RenderState
impl Default for RenderState
impl Eq for RenderState
Source§impl Hash for RenderState
impl Hash for RenderState
Source§impl PartialEq for RenderState
impl PartialEq for RenderState
impl StructuralPartialEq for RenderState
Auto Trait Implementations§
impl Forget for RenderState
impl Freeze for RenderState
impl Move for RenderState
impl RefUnwindSafe for RenderState
impl Send for RenderState
impl Sync for RenderState
impl Unpin for RenderState
impl UnsafeUnpin for RenderState
impl UnwindSafe for RenderState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.