pub struct Atoms {
pub lattice: Lattice,
pub positions: Vec<[f64; 3]>,
pub text: String,
pub reduced_positions: Vec<[f64; 3]>,
}
Expand description
struct for containing the information about the atoms.
Fields§
§lattice: Lattice
The lattice of the structure.
positions: Vec<[f64; 3]>
The positions of the atoms in cartesian coordinates.
text: String
Text representation from the input file.
reduced_positions: Vec<[f64; 3]>
The positions of the atoms in the LLL-reduced basis.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Atoms
impl Send for Atoms
impl Sync for Atoms
impl Unpin for Atoms
impl UnwindSafe for Atoms
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more