wiwi::num

Trait Add

Source
pub trait Add<R>
where Self: Sealed, R: Sealed,
{ type Output; // Required method fn add(self, rhs: R) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn add(self, rhs: R) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Add<i8> for i8

Source§

type Output = i8

Source§

fn add(self, rhs: i8) -> i8

Source§

impl Add<u8> for u8

Source§

type Output = u8

Source§

fn add(self, rhs: u8) -> u8

Source§

impl Add<u16> for u8

Source§

type Output = u16

Source§

fn add(self, rhs: u16) -> u16

Source§

impl Add<u32> for u8

Source§

type Output = u32

Source§

fn add(self, rhs: u32) -> u32

Source§

impl Add<u64> for u8

Source§

type Output = u64

Source§

fn add(self, rhs: u64) -> u64

Source§

impl Add<u128> for u8

Source§

type Output = u128

Source§

fn add(self, rhs: u128) -> u128

Source§

impl Add<usize> for u8

Source§

type Output = usize

Source§

fn add(self, rhs: usize) -> usize

Implementors§