[][src]Trait clarity_repl::clarity::costs::CostOverflowingMath

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>

fn cost_overflow_add(self, other: T) -> Result<T, CostErrors>

fn cost_overflow_sub(self, other: T) -> Result<T, CostErrors>

Loading content...

Implementations on Foreign Types

impl CostOverflowingMath<u64> for u64[src]

Loading content...

Implementors

Loading content...