#[non_exhaustive]pub struct StepRef {
pub number: usize,
pub line: usize,
pub action: String,
pub time: Option<f64>,
}Expand description
A step of the plan, as diagnostics name it.
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.number: usizeThe 1-based position of the step in the plan, as VAL counts.
line: usizeThe 1-based line of the plan file the step starts on; 0 for a plan built in code.
action: StringThe step as written, in lowercase, such as (drive t1 home shop).
time: Option<f64>The start time of the step in a temporal plan; None in a sequential one.
Trait Implementations§
impl StructuralPartialEq for StepRef
Auto Trait Implementations§
impl Forget for StepRef
impl Freeze for StepRef
impl Move for StepRef
impl RefUnwindSafe for StepRef
impl Send for StepRef
impl Sync for StepRef
impl Unpin for StepRef
impl UnsafeUnpin for StepRef
impl UnwindSafe for StepRef
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