fn invalid_resource_state<T: ResourceUses>(state: T) -> bool
Expand description
Returns true if the given states violates the usage scope rule of any(inclusive) XOR one(exclusive)
fn invalid_resource_state<T: ResourceUses>(state: T) -> bool
Returns true if the given states violates the usage scope rule of any(inclusive) XOR one(exclusive)