#[non_exhaustive]pub struct Stats { /* private fields */ }Expand description
The Mi metric.
Implementations§
Source§impl Stats
impl Stats
Sourcepub fn original(&self) -> f64
pub fn original(&self) -> f64
Returns the Mi metric calculated using the original formula.
Its value can be negative.
Sourcepub fn sei(&self) -> f64
pub fn 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 visual_studio(&self) -> f64
pub fn visual_studio(&self) -> f64
Returns the Mi metric calculated using the derivative formula
employed by Microsoft Visual Studio.
Trait Implementations§
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin 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