pub struct Occurrence {
pub iteration: Option<u64>,
pub values: Vec<Value>,
pub decided: Option<usize>,
pub profile: bool,
}Expand description
One run of a statement.
Fields§
§iteration: Option<u64>The iteration of the innermost loop around it (from 1); a loop’s own decision: the iteration it enters, or ends after.
values: Vec<Value>What it wrote: an assignment’s value, a call’s result, an
intrinsic’s outputs, the value returned; for an if or a loop’s
decision, what the assignment expressions of its condition wrote
(if ((v = f()) != 0)), in the order made.
decided: Option<usize>The way it decided: if then (0) or else (1); a loop entering its
body (0) or ending (1); a switch’s arm.
profile: boolWhether a value of a site that the run’s processor profile gave went into it (an undefined value the architecture leaves to the processor): what it wrote or decided holds on that processor.
Trait Implementations§
Source§impl Clone for Occurrence
impl Clone for Occurrence
Source§impl Debug for Occurrence
impl Debug for Occurrence
Source§impl Default for Occurrence
impl Default for Occurrence
impl Eq for Occurrence
Source§impl PartialEq for Occurrence
impl PartialEq for Occurrence
impl StructuralPartialEq for Occurrence
Auto Trait Implementations§
impl Forget for Occurrence
impl Freeze for Occurrence
impl Move for Occurrence
impl RefUnwindSafe for Occurrence
impl Send for Occurrence
impl Sync for Occurrence
impl Unpin for Occurrence
impl UnsafeUnpin for Occurrence
impl UnwindSafe for Occurrence
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