pub struct XtbMolecule { /* private fields */ }Expand description
Molecular structure data
Implementations§
Source§impl XtbMolecule
impl XtbMolecule
Sourcepub fn create<'a>(
env: &XtbEnvironment,
attyp: &[i32],
coord: &[f64],
charge: f64,
uhf: i32,
lattice: impl Into<Option<&'a [f64; 9]>>,
periodic: impl Into<Option<&'a [bool; 3]>>,
) -> Result<Self>
pub fn create<'a>( env: &XtbEnvironment, attyp: &[i32], coord: &[f64], charge: f64, uhf: i32, lattice: impl Into<Option<&'a [f64; 9]>>, periodic: impl Into<Option<&'a [bool; 3]>>, ) -> Result<Self>
Create new molecular structure data (quantities in Bohr). The molecular structure data object has a fixed number of atoms and immutable atomic identifiers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XtbMolecule
impl RefUnwindSafe for XtbMolecule
impl !Send for XtbMolecule
impl !Sync for XtbMolecule
impl Unpin for XtbMolecule
impl UnwindSafe for XtbMolecule
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