Trait image::traits::Enlargeable
source · pub trait Enlargeable:
Sized
+ Bounded
+ NumCast {
type Larger: Copy + NumCast + Num + PartialOrd<Self::Larger> + Clone + Bounded + AddAssign;
// Provided methods
fn clamp_from(n: Self::Larger) -> Self { ... }
fn to_larger(self) -> Self::Larger { ... }
}
Expand description
An Enlargable::Larger value should be enough to calculate the sum (average) of a few hundred or thousand Enlargeable values.
Required Associated Types§
Provided Methods§
Object Safety§
This trait is not object safe.