pub struct TopEntry {
pub path: String,
pub name: String,
pub kind: String,
pub line: u32,
pub cognitive: u32,
pub cyclomatic: u32,
}Expand description
One function in a flat cross-file ranking. Carries path/line so each row
is locatable on its own (the per-file nesting is flattened away).
Fields§
§path: String§name: String§kind: String§line: u32§cognitive: u32§cyclomatic: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopEntry
impl RefUnwindSafe for TopEntry
impl Send for TopEntry
impl Sync for TopEntry
impl Unpin for TopEntry
impl UnsafeUnpin for TopEntry
impl UnwindSafe for TopEntry
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