#[non_exhaustive]pub struct StepReport {
pub step: usize,
pub to: usize,
pub action: Option<String>,
pub args: Vec<String>,
pub changes: Vec<Change>,
}Expand description
One step of a trace: out of state step, to the next state or, for the
last, back to the loop target.
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: usizeThe state the step leaves.
to: usizeThe state it reaches.
action: Option<String>The action, or None when nothing changed.
args: Vec<String>The action’s arguments.
changes: Vec<Change>What each changing relation gains and loses.
Trait Implementations§
Source§impl Clone for StepReport
impl Clone for StepReport
Source§impl Debug for StepReport
impl Debug for StepReport
Auto Trait Implementations§
impl Forget for StepReport
impl Freeze for StepReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Change>: Freeze,
impl Move for StepReport
impl RefUnwindSafe for StepReport
impl Send for StepReport
impl Sync for StepReport
impl Unpin for StepReport
impl UnsafeUnpin for StepReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Change>: UnsafeUnpin,
impl UnwindSafe for StepReport
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