Skip to main content

can_consume

Function can_consume 

Source
pub fn can_consume(q: &NQuin, reusable: bool) -> bool
Expand description

Whether a resource quin q may be consumed to satisfy a demand: a reusable (!-marked) resource always can; a linear resource only if not already consumed.