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]

Loading content...

Implementations on Foreign Types

impl CostOverflowingMath<u64> for u64[src]

Loading content...

Implementors

Loading content...