jrust

Trait JavaAdd

Source
pub trait JavaAdd<T> {
    type Target;

    // Required method
    fn add(self, other: T) -> Self::Target;
}

Required Associated Types§

Required Methods§

Source

fn add(self, other: T) -> Self::Target

Implementations on Foreign Types§

Source§

impl<'a, T: Display> JavaAdd<T> for &'a str

Source§

type Target = String

Source§

fn add(self, other: T) -> Self::Target

Source§

impl<T: Into<i64>> JavaAdd<T> for i8

Source§

type Target = i64

Source§

fn add(self, other: T) -> Self::Target

Source§

impl<T: Into<i64>> JavaAdd<T> for i16

Source§

type Target = i64

Source§

fn add(self, other: T) -> Self::Target

Source§

impl<T: Into<i64>> JavaAdd<T> for i32

Source§

type Target = i64

Source§

fn add(self, other: T) -> Self::Target

Source§

impl<T: Into<i64>> JavaAdd<T> for i64

Source§

type Target = i64

Source§

fn add(self, other: T) -> Self::Target

Source§

impl<T: Display> JavaAdd<T> for String

Source§

type Target = String

Source§

fn add(self, other: T) -> Self::Target

Implementors§