Function boostvoronoi::try_cast[][src]

pub fn try_cast<T, U>(n: T) -> Result<U, BvError> where
    T: NumCast + Debug + Copy,
    U: NumCast
Expand description

Try to convert from one numeric type to another

Errors

Will return an BvError::NumberConversion if the conversion fails