Macro bitcoin::key::secp256k1::hashes::sha256t_hash_newtype
macro_rules! sha256t_hash_newtype { ($newtype:ident, $tag:ident, $midstate:ident, $midstate_len:expr, $docs:meta, $direction:tt) => { ... }; ($newtype:ident, $tag:ident, $midstate:ident, $midstate_len:expr, $docs:meta, $direction:tt, $sname:expr) => { ... }; }
Expand description
Macro used to define a newtype tagged hash. It creates two public types:
- a sha256t::Tag struct,
- a sha256t::Hash type alias.