Macro rp6::uart::serial_writable::impl_serial_writable_num
source · macro_rules! impl_serial_writable_num { ($type: ty $(,)?) => { ... }; ($type: ty, $size_dec: expr $(,)?) => { ... }; ($type: ty, $size_dec: expr, $size_oct: expr $(,)?) => { ... }; (@impl $type: ty, $base_name: ident, $size: expr) => { ... }; }
Expand description
Implement the traits for Binary
, Decimal
, Hexadecimal
and Octal
formatting of a number.