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§
impl Copy for Copies
impl StructuralPartialEq for Copies
Auto Trait Implementations§
impl Freeze for Copies
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)