imageproc::math

Function cast

Source
pub fn cast<T, U>(x: T) -> U
where T: ValueInto<U>,
Expand description

Helper for a conversion that we know can’t fail.