pub trait DitherFloat:
Copy
+ PartialEq
+ PartialOrd
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Neg<Output = Self>
+ Number
+ CastableFrom<f64> {
// Required method
fn round(self) -> Self;
}Expand description
Minimal trait requirements for dithering.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.