pub struct Moment {
pub segment: u64,
pub task: TaskPath,
pub call: u64,
pub steps: u64,
}Expand description
A place in one task’s evaluation (runs.md, Places in a run): the
segment whose program is evaluating, the task, the count of its calls
whose answers were handed to it, and the steps it has taken since,
written root/2#4+17 or p1:root#4+5.
Fields§
§segment: u64The segment, 0 for the run’s first.
task: TaskPathThe task.
call: u64The index of its last call whose answer was handed to it; 0 before its first.
steps: u64Its steps since: 0 is the call’s own step, or the task’s start.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Moment
impl<'de> Deserialize<'de> for Moment
Source§fn deserialize<D: Deserializer<'de>>(
deserializer: D,
) -> Result<Moment, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D, ) -> Result<Moment, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Moment
Source§impl Ord for Moment
impl Ord for Moment
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Moment
impl PartialOrd for Moment
impl StructuralPartialEq for Moment
Auto Trait Implementations§
impl Forget for Moment
impl Freeze for Moment
impl Move for Moment
impl RefUnwindSafe for Moment
impl Send for Moment
impl Sync for Moment
impl Unpin for Moment
impl UnsafeUnpin for Moment
impl UnwindSafe for Moment
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