pub struct DeadCodeSummary {
pub total_symbols: usize,
pub dead_count: usize,
pub dead_percentage: f64,
pub excluded_count: usize,
pub dead_by_kind: HashMap<SymbolKind, usize>,
pub dead_by_file: Vec<(String, usize)>,
}Fields§
§total_symbols: usize§dead_count: usize§dead_percentage: f64§excluded_count: usize§dead_by_kind: HashMap<SymbolKind, usize>§dead_by_file: Vec<(String, usize)>Trait Implementations§
Source§impl Clone for DeadCodeSummary
impl Clone for DeadCodeSummary
Source§fn clone(&self) -> DeadCodeSummary
fn clone(&self) -> DeadCodeSummary
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 DeadCodeSummary
impl Debug for DeadCodeSummary
Source§impl<'de> Deserialize<'de> for DeadCodeSummary
impl<'de> Deserialize<'de> for DeadCodeSummary
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 DeadCodeSummary
impl RefUnwindSafe for DeadCodeSummary
impl Send for DeadCodeSummary
impl Sync for DeadCodeSummary
impl Unpin for DeadCodeSummary
impl UnsafeUnpin for DeadCodeSummary
impl UnwindSafe for DeadCodeSummary
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