Trait clarity_repl::clarity::costs::CostOverflowingMath [−][src]
pub trait CostOverflowingMath<T> { fn cost_overflow_mul(self, other: T) -> Result<T, CostErrors>; fn cost_overflow_add(self, other: T) -> Result<T, CostErrors>; fn cost_overflow_sub(self, other: T) -> Result<T, CostErrors>; }
Required methods
fn cost_overflow_mul(self, other: T) -> Result<T, CostErrors>
[src]
fn cost_overflow_add(self, other: T) -> Result<T, CostErrors>
[src]
fn cost_overflow_sub(self, other: T) -> Result<T, CostErrors>
[src]
Implementations on Foreign Types
impl CostOverflowingMath<u64> for u64
[src]
impl CostOverflowingMath<u64> for u64
[src]