[][src]Trait merx::asset::asset::CheckedOps

pub trait CheckedOps: Sized {
    fn add_checked(self, rhs: Self) -> Option<Self>;
fn mul_checked(self, rhs: i128) -> Option<Self>;
fn div_checked(self, rhs: i128) -> Option<Self>;
fn is_positive(&self) -> bool; }

Required methods

fn add_checked(self, rhs: Self) -> Option<Self>

fn mul_checked(self, rhs: i128) -> Option<Self>

fn div_checked(self, rhs: i128) -> Option<Self>

fn is_positive(&self) -> bool

Loading content...

Implementors

Loading content...