pub enum Frame {
Idle,
Painted(Vec<DrawCommand>),
Blocked(String),
}Expand description
The outcome of one frame tick.
Variants§
Idle
Nothing was owed; the loop stops.
Painted(Vec<DrawCommand>)
The tree was laid out and painted; these are its draw commands.
Blocked(String)
The root brick failed its assertions, so nothing was painted (PROBAR-SPEC-009).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Frame
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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