pub enum FrameLifecycleState {
Idle,
InFrame,
Rendered,
}Expand description
Runtime state for a Dear ImGui frame owned by an external engine schedule.
Variants§
Idle
No Dear ImGui frame is currently open for this context.
InFrame
A frame was opened and can accept UI commands.
Rendered
The last opened frame has been rendered and draw data is available until the next frame.
Trait Implementations§
Source§impl Clone for FrameLifecycleState
impl Clone for FrameLifecycleState
Source§fn clone(&self) -> FrameLifecycleState
fn clone(&self) -> FrameLifecycleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrameLifecycleState
impl Debug for FrameLifecycleState
Source§impl PartialEq for FrameLifecycleState
impl PartialEq for FrameLifecycleState
Source§fn eq(&self, other: &FrameLifecycleState) -> bool
fn eq(&self, other: &FrameLifecycleState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FrameLifecycleState
impl Eq for FrameLifecycleState
impl StructuralPartialEq for FrameLifecycleState
Auto Trait Implementations§
impl Freeze for FrameLifecycleState
impl RefUnwindSafe for FrameLifecycleState
impl Send for FrameLifecycleState
impl Sync for FrameLifecycleState
impl Unpin for FrameLifecycleState
impl UnsafeUnpin for FrameLifecycleState
impl UnwindSafe for FrameLifecycleState
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