pub struct ConfidenceFactors {
pub has_clear_boundaries: bool,
pub no_external_state: bool,
pub pure_computation: bool,
pub single_responsibility: bool,
pub testable_in_isolation: bool,
}Fields§
§has_clear_boundaries: bool§no_external_state: bool§pure_computation: bool§single_responsibility: bool§testable_in_isolation: boolImplementations§
Source§impl ConfidenceFactors
impl ConfidenceFactors
pub fn calculate_confidence(&self) -> f32
Auto Trait Implementations§
impl Freeze for ConfidenceFactors
impl RefUnwindSafe for ConfidenceFactors
impl Send for ConfidenceFactors
impl Sync for ConfidenceFactors
impl Unpin for ConfidenceFactors
impl UnwindSafe for ConfidenceFactors
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