pub struct FunctionComplexityMetric {
pub function_id: usize,
pub file_id: usize,
pub path: String,
pub name: String,
pub value: usize,
pub cognitive_value: usize,
}Fields§
§function_id: usize§file_id: usize§path: String§name: String§value: usize§cognitive_value: usizeTrait Implementations§
Source§impl Clone for FunctionComplexityMetric
impl Clone for FunctionComplexityMetric
Source§fn clone(&self) -> FunctionComplexityMetric
fn clone(&self) -> FunctionComplexityMetric
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 FunctionComplexityMetric
impl Debug for FunctionComplexityMetric
Source§impl<'de> Deserialize<'de> for FunctionComplexityMetric
impl<'de> Deserialize<'de> for FunctionComplexityMetric
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 FunctionComplexityMetric
impl RefUnwindSafe for FunctionComplexityMetric
impl Send for FunctionComplexityMetric
impl Sync for FunctionComplexityMetric
impl Unpin for FunctionComplexityMetric
impl UnsafeUnpin for FunctionComplexityMetric
impl UnwindSafe for FunctionComplexityMetric
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