Trait simba::scalar::ClosedAdd

source ·
pub trait ClosedAdd<Right = Self>:
    Sized
    + Add<Right, Output = Self>
    + AddAssign<Right> { }
Expand description

Trait alias for Add and AddAssign with result of type Self.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, Right> ClosedAdd<Right> for T
where T: Add<Right, Output = T> + AddAssign<Right>,