pub trait Volume {
    // Required method
    fn volume(&self) -> usize;
}
Expand description

Used to calculate the volume of an item.

Required Methods§

source

fn volume(&self) -> usize

Implementors§