pub trait EffectGuardBridge<E, G: GuardLayer> {
// Required method
fn guard_cost_for_effect(&self, action: &E) -> G::Resource;
}Expand description
Bridge from effect actions to guard costs/resources.
Required Methods§
Sourcefn guard_cost_for_effect(&self, action: &E) -> G::Resource
fn guard_cost_for_effect(&self, action: &E) -> G::Resource
Cost label for one effect action without side effects.