fn invalid_resource_state<T: ResourceUses>(state: T) -> boolExpand 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) -> boolReturns true if the given states violates the usage scope rule of any(inclusive) XOR one(exclusive)