pub struct Copies {
pub source: CopySource,
pub percentage: Option<f32>,
}
Available on crate feature
blob
only.Expand description
Under which circumstances we consider a file to be a copy.
Fields§
§source: CopySource
The set of files to search when finding the source of copies.
percentage: Option<f32>
Equivalent to Rewrites::percentage
, but used for copy tracking.
Useful to have similarity-based rename tracking and cheaper copy tracking.
Trait Implementations§
source§impl PartialEq for Copies
impl PartialEq for Copies
impl Copy for Copies
impl StructuralPartialEq for Copies
Auto Trait Implementations§
impl RefUnwindSafe for Copies
impl Send for Copies
impl Sync for Copies
impl Unpin for Copies
impl UnwindSafe for Copies
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