Add

Trait Add 

Source
pub trait Add<Rhs = Self> {
    type Output;

    // Required method
    fn add(self, rhs: Rhs) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl Add for f32

Source§

type Output = f32

Source§

fn add(self, other: f32) -> f32

Source§

impl Add for f64

Source§

type Output = f64

Source§

fn add(self, other: f64) -> f64

Source§

impl Add for i8

Source§

type Output = i8

Source§

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

Source§

impl Add for i16

Source§

type Output = i16

Source§

fn add(self, other: i16) -> i16

Source§

impl Add for i32

Source§

type Output = i32

Source§

fn add(self, other: i32) -> i32

Source§

impl Add for i64

Source§

type Output = i64

Source§

fn add(self, other: i64) -> i64

Source§

impl Add for i128

Source§

type Output = i128

Source§

fn add(self, other: i128) -> i128

Source§

impl Add for isize

Source§

type Output = isize

Source§

fn add(self, other: isize) -> isize

Source§

impl Add for u8

Source§

type Output = u8

Source§

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

Source§

impl Add for u16

Source§

type Output = u16

Source§

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

Source§

impl Add for u32

Source§

type Output = u32

Source§

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

Source§

impl Add for u64

Source§

type Output = u64

Source§

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

Source§

impl Add for u128

Source§

type Output = u128

Source§

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

Source§

impl Add for usize

Source§

type Output = usize

Source§

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

Implementors§