pub trait Layout {
    fn size(&self) -> usize;
}
Expand description

A layout of a variable-length object.

Required methods

The size of the object in bytes.

Implementors