pub trait Volume { // Required method fn volume(&self) -> usize; }
Used to calculate the volume of an item.