const_int_as

Macro const_int_as 

Source
macro_rules! const_int_as {
    ($e:expr, $lhs:ty, $rhs:ty) => { ... };
}
Expand description

Cast a given integer type to another one in constant contexts. Signal a fatal error if the cast target can’t fit the source integer type.