pub trait DataType { // Required methods fn typename(&self) -> String; fn size(&self) -> usize; fn to_array(&self) -> Array; }