Trait exmex::NeutralElts
source · pub trait NeutralElts: PartialEq {
// Required methods
fn zero() -> Self;
fn one() -> Self;
}
Expand description
The neutral elements of addition and multiplication are zero and one, respectively.
An implementation is provided for all types that implement From<u8> + PartialEq
.
Required Methods§
Object Safety§
This trait is not object safe.