pub struct TacticProfilingEvent {
pub tactic: String,
pub duration_ns: u64,
pub success: bool,
pub goals_before: u32,
pub goals_after: u32,
}Expand description
A profiling event specific to tactic execution.
Fields§
§tactic: StringName of the tactic.
duration_ns: u64Duration in nanoseconds.
success: boolWhether the tactic succeeded.
goals_before: u32Number of goals before the tactic.
goals_after: u32Number of goals after the tactic.
Implementations§
Trait Implementations§
Source§impl Clone for TacticProfilingEvent
impl Clone for TacticProfilingEvent
Source§fn clone(&self) -> TacticProfilingEvent
fn clone(&self) -> TacticProfilingEvent
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 moreAuto Trait Implementations§
impl Freeze for TacticProfilingEvent
impl RefUnwindSafe for TacticProfilingEvent
impl Send for TacticProfilingEvent
impl Sync for TacticProfilingEvent
impl Unpin for TacticProfilingEvent
impl UnsafeUnpin for TacticProfilingEvent
impl UnwindSafe for TacticProfilingEvent
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