Trait packed_struct::types::bits::NumberOfBytes [−][src]
pub trait NumberOfBytes: Copy + Clone + Debug + Default {
type AsBytes: ByteArray;
fn number_of_bytes() -> usize;
}
Expand description
Number of bytes that the generic type should occupy.
Associated Types
Required methods
fn number_of_bytes() -> usize
fn number_of_bytes() -> usize
The numberical number of bytes.