pub trait AsArray { type Array: Debug + PartialEq; // Required method fn array(&self) -> Self::Array; }