pub struct CloneFamily {
pub id: usize,
pub size: usize,
pub members: Vec<MethodFingerprint>,
pub avg_similarity: f64,
}Expand description
A connected component over the clone-pair graph.
Fields§
§id: usize§size: usize§members: Vec<MethodFingerprint>§avg_similarity: f64Mean similarity across in-family pairs.
Trait Implementations§
Source§impl Clone for CloneFamily
impl Clone for CloneFamily
Source§fn clone(&self) -> CloneFamily
fn clone(&self) -> CloneFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloneFamily
impl Debug for CloneFamily
Source§impl<'de> Deserialize<'de> for CloneFamily
impl<'de> Deserialize<'de> for CloneFamily
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 CloneFamily
impl RefUnwindSafe for CloneFamily
impl Send for CloneFamily
impl Sync for CloneFamily
impl Unpin for CloneFamily
impl UnsafeUnpin for CloneFamily
impl UnwindSafe for CloneFamily
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