pub struct TraceRequest {
pub entity: Option<u64>,
pub breakpoints: Vec<TraceEvent>,
}Expand description
An external observer’s request for execution tracing, published per frame by
the cn editor HUD while its Behavior panel is open and removed when it
closes. While present, the behavior system records which nodes ran each
simulated tick and publishes ExecutionTrace; absent (the shipped runtime,
or the panel closed), the system does no recording work beyond noticing the
absence. entity selects whose per-entity locals to surface; breakpoints
are nodes whose execution should be reported as a ExecutionTrace::hit so
the observer can pause the simulation.
Fields§
§entity: Option<u64>Whose per-entity locals to surface, as entity id bits.
breakpoints: Vec<TraceEvent>Nodes whose execution should be reported as a hit.
Trait Implementations§
Source§impl Clone for TraceRequest
impl Clone for TraceRequest
Source§fn clone(&self) -> TraceRequest
fn clone(&self) -> TraceRequest
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 TraceRequest
impl Debug for TraceRequest
Source§impl Default for TraceRequest
impl Default for TraceRequest
Source§fn default() -> TraceRequest
fn default() -> TraceRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceRequest
impl RefUnwindSafe for TraceRequest
impl Send for TraceRequest
impl Sync for TraceRequest
impl Unpin for TraceRequest
impl UnsafeUnpin for TraceRequest
impl UnwindSafe for TraceRequest
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