pub struct RenderFrame {
pub title: String,
pub demo_type: String,
pub step: u64,
pub seed: u64,
pub paused: bool,
pub complete: bool,
pub metrics: Vec<(String, String)>,
pub criteria: Vec<CriterionResult>,
}Expand description
Render data for TUI display.
This struct contains all data needed to render a frame, decoupled from the actual rendering implementation.
Fields§
§title: StringDemo title.
demo_type: StringDemo type (e.g., “orbit”, “tsp”).
step: u64Current step number.
seed: u64Seed for reproducibility.
paused: boolWhether demo is paused.
complete: boolWhether demo is complete.
metrics: Vec<(String, String)>Key-value metrics for display.
criteria: Vec<CriterionResult>Falsification criteria results.
Trait Implementations§
Source§impl Clone for RenderFrame
impl Clone for RenderFrame
Source§fn clone(&self) -> RenderFrame
fn clone(&self) -> RenderFrame
Returns a duplicate 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
Auto Trait Implementations§
impl Freeze for RenderFrame
impl RefUnwindSafe for RenderFrame
impl Send for RenderFrame
impl Sync for RenderFrame
impl Unpin for RenderFrame
impl UnsafeUnpin 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