/// Returns the estimate of the size occupied by this data structure in
/// bytes.
Returns the estimate of the size occupied by this data structure in
bytes.
Returns the estimate of the size occupied by this data structure in bytes .
pub fn size_estimate(&self) -> usize {
        fn slice_size<T>(s: &[T]) -> usize {
            s.len() * std::mem::size_of::<T>()
        }
        std::mem::size_of_val(self)
            + slice_size(&self.leaf_digests)
            + slice_size(&self.fork_digests)
            + slice_size(&self.fork_left_children)
            + slice_size(&self.fork_right_children)
            + slice_size(&self.node_digests)
            + slice_size(&self.node_labels)
            + slice_size(&self.node_children)
            + slice_size(&self.node_children_labels_ranges)
    }
pub fn size_estimate ( & self ) -> usize { fn slice_size < T > ( s : & [ T ] ) -> usize { s . len ( ) * std :: mem :: size_of :: < T > ( ) } std :: mem :: size_of_val ( self ) + slice_size ( & self . leaf_digests ) + slice_size ( & self . fork_digests ) + slice_size ( & self . fork_left_children ) + slice_size ( & self . fork_right_children ) + slice_size ( & self . node_digests ) + slice_size ( & self . node_labels ) + slice_size ( & self . node_children ) + slice_size ( & self . node_children_labels_ranges ) }
Returns the estimate of the size occupied by this data structure in
bytes.
Returns the estimate of the size occupied by this data structure in bytes .
&self