Macro bitcoin_hashes::sha256t_hash_newtype
source · [−]macro_rules! sha256t_hash_newtype {
($newtype:ident, $tag:ident, $midstate:ident, $midstate_len:expr, $docs:meta, $reverse: expr) => { ... };
($newtype:ident, $tag:ident, $midstate:ident, $midstate_len:expr, $docs:meta, $reverse: expr, $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.