Skip to main content

holds

Function holds 

Source
pub fn holds(capacity: Capacity, needs: Needs, fill: Fill) -> bool
Expand description

Whether a region of capacity holds a unit of needs at fill: each resource the unit needs within its share of the region’s.