better-conversions 0.3.1

Safe and explicit numeric conversions with range and precision checking
Documentation

better-conversions

Safe and explicit numeric conversions with range and precision checking

use better_conversions::prelude::*;
/* .goto_u8, .goto_u16, .goto_u32, */
/* .goto_u64, .goto_u128, .goto_usize, */
/* .goto_f32, .goto_f64 */

/* .try_goto_u8, .try_goto_u16, .try_goto_u32, */
/* .try_goto_u64, .try_goto_u128, .try_goto_usize, */
/* .try_goto_f32, .try_goto_f64 */

Infallible conversions use "goto"

Fallible conversions use "try_goto"