[−][src]Trait vrp_core::models::common::CapacityDimension
A trait to get or set vehicle's capacity.
Required methods
fn set_capacity(&mut self, demand: T) -> &mut Self
Sets capacity.
fn get_capacity(&self) -> Option<&T>
Gets capacity.