pub type CollatorId = Public;
Expand description
Identity that collators use.
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If
T::size_of
is a constant, consider implementing
constant_size
as well.
Read more
Used to optimize
MallocSizeOf
implementation for collections
like
Vec
and
HashMap
to avoid iterating over them unnecessarily.
The
Self: Sized
bound is for object safety.
Read more