#[derive(DataSize)]
{
// Attributes available to this derive:
#[data_size]
}
Expand description
Automatically derive the DataSize
trait for a type.
Supports a single option, #[data_size(skip)]
. If set on a field, it will be ignored entirely
when deriving the implementation.