fn increment_cost(&mut self, additonal_cost: u64) {
        match self {
            Self::StaticCost { scope: _, cost } => *cost += additonal_cost,
            Self::DynamicCost => {}
        }
    }
/// If the cost is statically known, increment it by the given amount.
/// Otherwise do nothing.
If the cost is statically known, increment it by the given amount.
Otherwise do nothing.
If the cost is statically known increment it by the given amount . Otherwise do nothing .
fn increment_cost(&mut self, additonal_cost: u64) {
        match self {
            Self::StaticCost { scope: _, cost } => *cost += additonal_cost,
            Self::DynamicCost => {}
        }
    }
fn increment_cost ( & mut self , additonal_cost : u64 ) { match self { Self :: StaticCost { scope : _ , cost } => * cost += additonal_cost , Self :: DynamicCost => { } } }
If the cost is statically known, increment it by the given amount.
If the cost is statically known increment it by the given amount .
&mut self
additonal_cost
u64
&mut self
additonal_cost
u64