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