pub struct CloneAnalysis {
pub clusters: Vec<CloneCluster>,
pub total_symbols_analyzed: usize,
pub symbols_in_clones: usize,
pub duplication_pct: f64,
pub most_duplicated: Option<String>,
}Fields§
§clusters: Vec<CloneCluster>§total_symbols_analyzed: usize§symbols_in_clones: usize§duplication_pct: f64§most_duplicated: Option<String>Trait Implementations§
Source§impl Clone for CloneAnalysis
impl Clone for CloneAnalysis
Source§fn clone(&self) -> CloneAnalysis
fn clone(&self) -> CloneAnalysis
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 CloneAnalysis
impl Debug for CloneAnalysis
Source§impl<'de> Deserialize<'de> for CloneAnalysis
impl<'de> Deserialize<'de> for CloneAnalysis
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 CloneAnalysis
impl RefUnwindSafe for CloneAnalysis
impl Send for CloneAnalysis
impl Sync for CloneAnalysis
impl Unpin for CloneAnalysis
impl UnsafeUnpin for CloneAnalysis
impl UnwindSafe for CloneAnalysis
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