pub trait CoreAtomData {
// Required methods
fn indices_repr(&self) -> Vec<usize>;
fn symbols_repr(&self) -> Vec<ElementSymbol>;
fn coords_repr(&self) -> Vec<CoordData>;
fn labels_repr(&self) -> Vec<Option<String>>;
}Expand description
Basic components for atom site data.
Custom type to extend fields for AtomData can be fitted in CrystalModel by
implementing this trait