pub trait Norms { type NormType; // Required methods fn l2_norm_squared(&self) -> Self::NormType; fn linf_norm(&self) -> Self::NormType; }