Macro aint::u16

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

Returns a u16 checked at compile time.

Example

let x = u16!(42);
assert_eq!(x, 42);