pub struct Improvement { /* private fields */ }Expand description
Improvement: current >= baseline * threshold なら PASS
明確な改善を要求する場合に使用。 threshold = 1.1 なら 10% 改善が必要。
Implementations§
Source§impl Improvement
impl Improvement
pub fn new(threshold: f64) -> Self
Sourcepub fn ten_percent() -> Self
pub fn ten_percent() -> Self
10% 改善必須
Sourcepub fn five_percent() -> Self
pub fn five_percent() -> Self
5% 改善必須
Trait Implementations§
Source§impl Clone for Improvement
impl Clone for Improvement
Source§fn clone(&self) -> Improvement
fn clone(&self) -> Improvement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Improvement
impl Debug for Improvement
Auto Trait Implementations§
impl Freeze for Improvement
impl RefUnwindSafe for Improvement
impl Send for Improvement
impl Sync for Improvement
impl Unpin for Improvement
impl UnwindSafe for Improvement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more