#[derive(StaticSize)]
{
// Attributes available to this derive:
#[bits]
}
Expand description
Derives compile-time normal and bit-packed size bounds.
Fields must implement rustbinary::StaticSize. An optional #[bits = N]
attribute contributes the explicit packed width. Dynamic collections do not
provide a finite StaticSize implementation.