pub struct HighComplexityFile {
pub path: String,
pub cyclomatic: u32,
pub function_count: usize,
pub max_function_length: usize,
}Expand description
A file with high cyclomatic complexity.
Fields§
§path: StringPath to the file.
cyclomatic: u32Cyclomatic complexity score.
function_count: usizeNumber of functions in the file.
max_function_length: usizeMaximum function length in lines.
Trait Implementations§
Source§impl Clone for HighComplexityFile
impl Clone for HighComplexityFile
Source§fn clone(&self) -> HighComplexityFile
fn clone(&self) -> HighComplexityFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HighComplexityFile
impl Debug for HighComplexityFile
Source§impl<'de> Deserialize<'de> for HighComplexityFile
impl<'de> Deserialize<'de> for HighComplexityFile
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
Auto Trait Implementations§
impl Freeze for HighComplexityFile
impl RefUnwindSafe for HighComplexityFile
impl Send for HighComplexityFile
impl Sync for HighComplexityFile
impl Unpin for HighComplexityFile
impl UnsafeUnpin for HighComplexityFile
impl UnwindSafe for HighComplexityFile
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