pub struct HistoryRequest {
pub expressions: String,
pub configurator: Value,
pub features: Vec<FeatureDescriptor>,
pub stop_at_id: Option<String>,
pub stop_before_id: Option<String>,
pub display_lod: f64,
}Expand description
The execute_history_json request: the expression source, the configurator
state, and the ordered feature list. Permissive — a whole saved part file
parses as a request (extra top-level fields ignored).
Fields§
§expressions: String§configurator: Value§features: Vec<FeatureDescriptor>§stop_at_id: Option<String>Stop AFTER executing the feature with this id (the editor’s “stop at the expanded feature”). The features past the stop stay in the request so the incremental cache RETAINS their entries — expanding/collapsing a panel must not thrash the cache (marshal-side truncation would free them).
stop_before_id: Option<String>Stop BEFORE executing the feature with this id.
display_lod: f64Render level-of-detail factor for DISPLAY tessellation (the app’s “LOD
factor” setting). execute_history ignores it — it rides on the request
only because the request is the serialized run boundary the display runner
receives, and the runner scales its per-solid chord tolerance by it
(higher = coarser mesh). Defaults to 1.0 (the “Normal” preset) so a saved
file / seed request with no displayLod tessellates exactly as before.
Trait Implementations§
Source§impl Clone for HistoryRequest
impl Clone for HistoryRequest
Source§fn clone(&self) -> HistoryRequest
fn clone(&self) -> HistoryRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more