Macro bitcoin_hashes::sha256t_hash_newtype[][src]

macro_rules! sha256t_hash_newtype {
    ($newtype : ident, $tag : ident, $midstate : ident, $midstate_len : expr,
 $docs : meta, $reverse : 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.