Enum is_close::Method [−][src]
pub enum Method { Weak, Strong, Average, Asymmetric, }
Expand description
Strategies for handling relative tolerance
For detailed reasoning on the pros and cons of the different variants checkout PEP 485.
Variants
Relative tolerance is scaled by the larger of the two values (default)
Relative tolerance is scaled by the smaller of the two values
Relative tolerance is scaled by the average of the two values
The second value (b
) is used for scaling the tolerance
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Method
impl UnwindSafe for Method
Blanket Implementations
Mutably borrows from an owned value. Read more