Macro capnp::capnp_word
source · macro_rules! capnp_word {
($b0:expr, $b1:expr, $b2:expr, $b3:expr,
$b4:expr, $b5:expr, $b6:expr, $b7:expr) => { ... };
}
Expand description
Constructs a Word
from its constituent bytes, accounting
for endianness. This macro can be used to construct constants. In the future, once
Rust supports constant functions,
this macro will be replaced by such a function.