Enum polonius_engine::Algorithm [−][src]
pub enum Algorithm { Naive, DatafrogOpt, LocationInsensitive, Compare, Hybrid, }
Variants
Simple rules, but slower to execute
Optimized variant of the rules
Fast to compute, but imprecise: there can be false-positives but no false-negatives. Tailored for quick “early return” situations.
Compares the Naive
and DatafrogOpt
variants to ensure they indeed
compute the same errors.
Combination of the fast LocationInsensitive
pre-pass, followed by
the more expensive DatafrogOpt
variant.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
Mutably borrows from an owned value. Read more