Trait arith_traits::IWrappingOps
source · pub trait IWrappingOps<T = Self>: IUnaryWrappingOps {
type AddOutput: IWrappingOps
where
Self: IWrappingOps = Self;
type DivOutput: IWrappingOps
where
Self: IWrappingOps = Self;
type MulOutput: IWrappingOps
where
Self: IWrappingOps = Self;
type RemOutput: IWrappingOps
where
Self: IWrappingOps = Self;
type SubOutput: IWrappingOps
where
Self: IWrappingOps = Self;
fn wrapping_add(self, rhs: T) -> <Self as IWrappingOps<T>>::AddOutput
where
Self: IWrappingOps;
fn wrapping_div(self, rhs: T) -> <Self as IWrappingOps<T>>::DivOutput
where
Self: IWrappingOps;
fn wrapping_div_euclid(self, rhs: T) -> <Self as IWrappingOps<T>>::DivOutput
where
Self: IWrappingOps;
fn wrapping_mul(self, rhs: T) -> <Self as IWrappingOps<T>>::MulOutput
where
Self: IWrappingOps;
fn wrapping_rem(self, rhs: T) -> <Self as IWrappingOps<T>>::RemOutput
where
Self: IWrappingOps;
fn wrapping_rem_euclid(self, rhs: T) -> <Self as IWrappingOps<T>>::RemOutput
where
Self: IWrappingOps;
fn wrapping_sub(self, rhs: T) -> <Self as IWrappingOps<T>>::SubOutput
where
Self: IWrappingOps;
}