#[non_exhaustive]pub struct StepTrace {
pub step: Option<StepRef>,
pub time: Option<f64>,
pub events: Vec<String>,
pub added: Vec<Atom>,
pub deleted: Vec<Atom>,
pub numeric: Vec<FluentChange>,
}Expand description
The ground changes one step made to the state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.step: Option<StepRef>The step, in a sequential plan.
time: Option<f64>The time of the happening, in a temporal plan.
events: Vec<String>The events of the happening, in a temporal plan, such as start (drive t1 a b),
in plan order.
added: Vec<Atom>Atoms that were false and are true after the step, sorted.
deleted: Vec<Atom>Atoms that were true and are false after the step, sorted.
numeric: Vec<FluentChange>The numeric fluents the step updated, sorted.
Trait Implementations§
impl StructuralPartialEq for StepTrace
Auto Trait Implementations§
impl Forget for StepTrace
impl Freeze for StepTrace
impl Move for StepTrace
impl RefUnwindSafe for StepTrace
impl Send for StepTrace
impl Sync for StepTrace
impl Unpin for StepTrace
impl UnsafeUnpin for StepTrace
impl UnwindSafe for StepTrace
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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