Skip to main content

quantique/
traits.rs

1use core::fmt::Display;
2pub trait Number: Sized + Clone + Display {}
3impl<T: Sized + Clone + Display> Number for T {}
4
5pub trait GeometricProduct<Rhs = Self> {
6    type Output;
7    fn gp(self, rhs: Rhs) -> Self::Output;
8}