pub struct StabilityAnalyzer { /* private fields */ }Expand description
Analyze stability of matches across multiple runs
Implementations§
Source§impl StabilityAnalyzer
impl StabilityAnalyzer
Sourcepub fn new(config: StabilityConfig) -> Self
pub fn new(config: StabilityConfig) -> Self
Create a new stability analyzer
Sourcepub fn add_level(&mut self, matches: Vec<Match>)
pub fn add_level(&mut self, matches: Vec<Match>)
Add matches from a run at a specific tolerance level
Sourcepub fn level_count(&self) -> usize
pub fn level_count(&self) -> usize
Get the number of levels analyzed
Sourcepub fn analyze(&self) -> Vec<StabilityResult>
pub fn analyze(&self) -> Vec<StabilityResult>
Analyze all matches and return stability results
Auto Trait Implementations§
impl Freeze for StabilityAnalyzer
impl RefUnwindSafe for StabilityAnalyzer
impl Send for StabilityAnalyzer
impl Sync for StabilityAnalyzer
impl Unpin for StabilityAnalyzer
impl UnsafeUnpin for StabilityAnalyzer
impl UnwindSafe for StabilityAnalyzer
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> 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