pub trait AddLogic<Rhs = Self> {
type Output;
// Required method
fn add(self, other: Rhs) -> Self::Output;
}Expand description
Trait for addition (+) in logic code.
pub trait AddLogic<Rhs = Self> {
type Output;
// Required method
fn add(self, other: Rhs) -> Self::Output;
}Trait for addition (+) in logic code.