pub struct MethodCc {
pub name: String,
pub complexity: u32,
}Expand description
One row of the cyclomaticComplexity.methods array.
Fields§
§name: String§complexity: u32Defaults to 1 (a method with no branches has CC = 1).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MethodCc
impl<'de> Deserialize<'de> for MethodCc
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 MethodCc
impl RefUnwindSafe for MethodCc
impl Send for MethodCc
impl Sync for MethodCc
impl Unpin for MethodCc
impl UnsafeUnpin for MethodCc
impl UnwindSafe for MethodCc
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