parity_util_mem/ethereum_impls.rs
1// Copyright 2020 Parity Technologies
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! Implementation of `MallocSize` for common ethereum types: fixed hashes
10//! and uints.
11
12use ethereum_types::{Bloom, H128, H264, H32, H520, H64, U64};
13
14malloc_size_of_is_0!(U64, H32, H64, H128, H264, H520, Bloom);