// FIXME: We should use layers from metadata, now that they can be
//        carried around more naturally, but:
//
//        * We need a way to verify that the layers were taken
//          specifically along the Z axis.
//        * We need a way to identify the vacuum separation gap.
//
We should use layers from metadata, now that they can be
carried around more naturally, but.

We need a way to verify that the layers were taken
specifically along the Z axis.
We need a way to identify the vacuum separation gap.
We should use layers from metadata now that they can be carried around more naturally but . We need a way to verify that the layers were taken specifically along the Z axis . We need a way to identify the vacuum separation gap .
fn atom_types(&self, coords: &Coords, meta: &CommonMeta) -> Vec<AtomType>
        {
            self.find_layers(coords, meta)
                .by_atom().into_iter()
                .map(|x| AtomType::from_index(x))
                .collect()
        }
fn atom_types ( & self , coords : & Coords , meta : & CommonMeta ) -> Vec < AtomType > { self . find_layers ( coords , meta ) . by_atom ( ) . into_iter ( ) . map ( | x | AtomType :: from_index ( x ) ) . collect ( ) }
FIXME: We should use layers from metadata, now that they can be
carried around more naturally, but:
FIXME : We should use layers from metadata now that they can be carried around more naturally but :
&self
coords
&Coords
meta
&CommonMeta