pub struct Enough<'a> { /* private fields */ }Expand description
Decides when a newest-first walk has read far enough for build to
produce the report the whole walk would.
That is one recorded commit past the limit, which is proof that older ones
exist, and every benchmark named with --bench seen with something to
draw, so that [check_benches] passes on the prefix exactly when it would
on the whole. Until both hold, the walk goes on to the end, and the report
is built from all of it as before.
“Recorded” is build’s rule, not merely a note being present, or a run of
commits carrying only other benchmarks would end the walk before the
selected one’s points were reached.
Implementations§
Auto Trait Implementations§
impl<'a> Forget for Enough<'a>
impl<'a> Freeze for Enough<'a>
impl<'a> Move for Enough<'a>
impl<'a> RefUnwindSafe for Enough<'a>
impl<'a> Send for Enough<'a>
impl<'a> Sync for Enough<'a>
impl<'a> Unpin for Enough<'a>
impl<'a> UnsafeUnpin for Enough<'a>
impl<'a> UnwindSafe for Enough<'a>
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