[][src]Trait doubled::AddChecked

pub trait AddChecked<T = Self>: CheckOrder<T> {
    type Output;
    fn add_checked(self, other: T) -> Self::Output;
}

Associated Types

type Output

Loading content...

Required methods

fn add_checked(self, other: T) -> Self::Output

Loading content...

Implementors

impl<T> AddChecked<Doubled<T>> for Doubled<T> where
    Doubled<T>: CheckOrder,
    T: Copy + Add<Output = T> + Sub<Output = T>, 
[src]

type Output = Self

impl<T> AddChecked<Doubled<T>> for T where
    T: Copy + CheckOrder<Doubled<T>> + Add<Output = T> + Sub<Output = T>, 
[src]

type Output = Doubled<T>

impl<T> AddChecked<T> for Doubled<T> where
    Doubled<T>: CheckOrder<T>,
    T: Copy + Add<Output = T> + Sub<Output = T>, 
[src]

type Output = Self

Loading content...