Macro bit_struct::u2
source · macro_rules! u2 { ($value: literal) => { ... }; }
Expand description
Produce a value of type u2
This macro checks at compile-time that it fits. To check at run-time see the
u2::new
function.
macro_rules! u2 { ($value: literal) => { ... }; }
Produce a value of type u2
This macro checks at compile-time that it fits. To check at run-time see the
u2::new
function.