Macro aint::i12

source ·
macro_rules! i12 {
    ($val:literal) => { ... };
}
Expand description

Returns a i12 checked at compile time.

Example

let x = i12!(0);
assert_eq!(x.repr(), 0);