pub struct Estimate { /* private fields */ }Expand description
How many times a loop probably runs.
For cost decisions and never for correctness. A pass asking whether unrolling pays for itself
wants one of these, and it is fine for the answer to be a guess, because being wrong makes the
code slower rather than wrong. Nothing here can be turned into a Bound.
Implementations§
Trait Implementations§
impl Copy for Estimate
impl Eq for Estimate
impl StructuralPartialEq for Estimate
Auto Trait Implementations§
impl Freeze for Estimate
impl RefUnwindSafe for Estimate
impl Send for Estimate
impl Sync for Estimate
impl Unpin for Estimate
impl UnsafeUnpin for Estimate
impl UnwindSafe for Estimate
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