pub struct Stats { /* private fields */ }
Expand description
The Mi
metric.
Implementations§
Source§impl Stats
impl Stats
Sourcepub fn mi_original(&self) -> f64
pub fn mi_original(&self) -> f64
Returns the Mi
metric calculated using the original formula.
Its value can be negative.
Sourcepub fn mi_sei(&self) -> f64
pub fn mi_sei(&self) -> f64
Returns the Mi
metric calculated using the derivative formula
employed by the Software Engineering Insitute (SEI).
Its value can be negative.
Sourcepub fn mi_visual_studio(&self) -> f64
pub fn mi_visual_studio(&self) -> f64
Returns the Mi
metric calculated using the derivative formula
employed by Microsoft Visual Studio.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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