[−][src]Trait imageproc::definitions::Clamp
A type to which we can clamp a value of type T.
Implementations are not required to handle NaNs gracefully.
Required methods
fn clamp(x: T) -> Self
Clamp x to a valid value for this type.