HasAdd

Trait HasAdd 

Source
pub trait HasAdd<O, A> {
    // Required method
    fn add(lhs_type: O, rhs_type: O) -> (O, A);
}
Expand description

Vars support this operator when the underlying signature has the appropriate operation.

Required Methods§

Source

fn add(lhs_type: O, rhs_type: O) -> (O, A)

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.

Implementors§