pub struct LargeFunctionEntry {
pub path: PathBuf,
pub name: String,
pub line: u32,
pub line_count: u32,
}Expand description
A function exceeding the very-high-risk size threshold (>60 LOC).
Fields§
§path: PathBufFile path relative to the project root.
name: StringFunction name, or a synthesized name for anonymous functions.
line: u321-based line the function starts on.
line_count: u32Lines of code in the function body.
Trait Implementations§
Source§impl Clone for LargeFunctionEntry
impl Clone for LargeFunctionEntry
Source§impl Debug for LargeFunctionEntry
impl Debug for LargeFunctionEntry
Source§impl<'de> Deserialize<'de> for LargeFunctionEntry
impl<'de> Deserialize<'de> for LargeFunctionEntry
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 LargeFunctionEntry
impl RefUnwindSafe for LargeFunctionEntry
impl Send for LargeFunctionEntry
impl Sync for LargeFunctionEntry
impl Unpin for LargeFunctionEntry
impl UnsafeUnpin for LargeFunctionEntry
impl UnwindSafe for LargeFunctionEntry
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