Trait tiny_skia::wide::FasterMinMax
source · pub trait FasterMinMax {
// Required methods
fn faster_min(self, rhs: f32) -> f32;
fn faster_max(self, rhs: f32) -> f32;
}
Expand description
A faster and more forgiving f32 min/max implementation.
Unlike std one, we do not care about NaN.