pub struct Complexity {
pub score: f64,
pub band: ComplexityBand,
pub metrics: ComplexityMetrics,
}Expand description
A structural complexity score with its breakdown.
Fields§
§score: f64§band: ComplexityBand§metrics: ComplexityMetricsImplementations§
Trait Implementations§
Source§impl Clone for Complexity
impl Clone for Complexity
impl Copy for Complexity
Source§impl Debug for Complexity
impl Debug for Complexity
Source§impl<'de> Deserialize<'de> for Complexity
impl<'de> Deserialize<'de> for Complexity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Complexity
impl PartialEq for Complexity
Source§impl Serialize for Complexity
impl Serialize for Complexity
impl StructuralPartialEq for Complexity
Auto Trait Implementations§
impl Forget for Complexity
impl Freeze for Complexity
impl Move for Complexity
impl RefUnwindSafe for Complexity
impl Send for Complexity
impl Sync for Complexity
impl Unpin for Complexity
impl UnsafeUnpin for Complexity
impl UnwindSafe for Complexity
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