Trait core::num::wrapping::OverflowingOpsUnstable
[-] [+]
[src]
pub trait OverflowingOps {
fn overflowing_add(self, rhs: Self) -> (Self, bool);
fn overflowing_sub(self, rhs: Self) -> (Self, bool);
fn overflowing_mul(self, rhs: Self) -> (Self, bool);
fn overflowing_div(self, rhs: Self) -> (Self, bool);
fn overflowing_rem(self, rhs: Self) -> (Self, bool);
fn overflowing_shl(self, rhs: u32) -> (Self, bool);
fn overflowing_shr(self, rhs: u32) -> (Self, bool);
}
Required Methods
fn overflowing_add(self, rhs: Self) -> (Self, bool)
fn overflowing_sub(self, rhs: Self) -> (Self, bool)
fn overflowing_mul(self, rhs: Self) -> (Self, bool)
fn overflowing_div(self, rhs: Self) -> (Self, bool)
fn overflowing_rem(self, rhs: Self) -> (Self, bool)
fn overflowing_shl(self, rhs: u32) -> (Self, bool)
fn overflowing_shr(self, rhs: u32) -> (Self, bool)
Implementors
impl OverflowingOps for i8impl OverflowingOps for i16impl OverflowingOps for i32impl OverflowingOps for i64impl OverflowingOps for u8impl OverflowingOps for u16impl OverflowingOps for u32impl OverflowingOps for u64impl OverflowingOps for usizeimpl OverflowingOps for isize