1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#![cfg_attr(feature = "nightly", feature(i128, u128, u128_type, i128_type))]
#![no_std]

mod cast;

pub use self::cast::Cast;

#[inline(always)]
pub fn cast<A, B>(a: A) -> B
where
    A: Cast<B>,
{
    a.cast()
}