pub struct Step {
pub key: Key,
pub from: String,
pub to: String,
pub commits: usize,
pub instructions: Change,
pub wall: Option<Change>,
}Expand description
A move between two consecutive recorded points of one series.
Fields§
§key: Key§from: StringThe earlier recorded commit, which the step is measured from.
to: StringThe later recorded commit, where the new value was first seen.
commits: usizeFirst-parent commits in from..to. One means the step belongs to to
alone; more means it happened somewhere in the range and the report must
say so, because naming to would blame a commit that may be innocent.
instructions: Change§wall: Option<Change>For context only. Change::exceeds refuses to gate on it.
Implementations§
Source§impl Step
impl Step
Sourcepub fn gate(&self, gates: &Gates) -> Gate
pub fn gate(&self, gates: &Gates) -> Gate
The gate this step’s series is held to — the same lookup tak compare
uses, so a benchmark’s tak.toml gate means the same thing before a
merge and after it.
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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