pub struct ChangeCouplingSettings {
pub max_files_per_commit: usize,
pub min_revisions: u32,
pub min_shared_revisions: u32,
pub min_degree: f64,
}Expand description
Thresholds for change coupling.
Fields§
§max_files_per_commit: usizeCommits with more analyzed files than this are skipped.
min_revisions: u32Minimum commits for each file of a pair.
Minimum commits that change both files.
min_degree: f64Minimum coupling degree in [0, 1].
Trait Implementations§
Source§impl Clone for ChangeCouplingSettings
impl Clone for ChangeCouplingSettings
impl Copy for ChangeCouplingSettings
Source§impl Debug for ChangeCouplingSettings
impl Debug for ChangeCouplingSettings
Source§impl Default for ChangeCouplingSettings
impl Default for ChangeCouplingSettings
Source§impl From<&ChangeCouplingConfig> for ChangeCouplingSettings
impl From<&ChangeCouplingConfig> for ChangeCouplingSettings
Source§fn from(config: &ChangeCouplingConfig) -> Self
fn from(config: &ChangeCouplingConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChangeCouplingSettings
impl PartialEq for ChangeCouplingSettings
impl StructuralPartialEq for ChangeCouplingSettings
Auto Trait Implementations§
impl Freeze for ChangeCouplingSettings
impl RefUnwindSafe for ChangeCouplingSettings
impl Send for ChangeCouplingSettings
impl Sync for ChangeCouplingSettings
impl Unpin for ChangeCouplingSettings
impl UnsafeUnpin for ChangeCouplingSettings
impl UnwindSafe for ChangeCouplingSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more