pub enum ScanMode {
Elimination,
TopDown,
}
Expand description
Available scanning strategy modes.
Variants
Elimination
Elimination is a general-purpose strategy that iteratively locates the highest license match in a file, then the next, and so on until not finding any more strong matches.
TopDown
TopDown is a strategy intended for use with attribution documents, or text files containing multiple licenses (and not much else). It’s more accurate than Elimination, but significantly slower.
Auto Trait Implementations
impl RefUnwindSafe for ScanMode
impl Send for ScanMode
impl Sync for ScanMode
impl Unpin for ScanMode
impl UnwindSafe for ScanMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more