pub trait Group<const BLEN: usize>where
Self: Add<Output = Self> + AddAssign + Neg<Output = Self> + PartialEq + Eq + Clone + Sync + Send + From<[u8; BLEN]>,{
// Required method
fn zero() -> Self;
// Provided method
fn neg_if(self, t: bool) -> Self { ... }
}
Expand description
Group (mathematics). Which has:
- Associative operation.
- Identity element.
- Inverse element.
Required Methods§
Provided Methods§
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.