pub struct Structure {
pub filepath: PathBuf,
pub number: usize,
pub mol_restraints: Vec<RestraintSpec>,
pub atom_groups: Vec<AtomGroup>,
pub center: bool,
pub fixed: Option<([f64; 3], [f64; 3])>,
}Expand description
One structure … end structure block.
Fields§
§filepath: PathBufTemplate molecule file path, as written in the script (may be relative).
number: usizeNumber of copies to pack.
mol_restraints: Vec<RestraintSpec>Molecule-wide restraints (applied to every atom of every copy).
atom_groups: Vec<AtomGroup>Atom-subset restraints (atoms … end atoms blocks).
center: boolWhether the center keyword was present.
fixed: Option<([f64; 3], [f64; 3])>Fixed placement: (position [x,y,z], euler [ex,ey,ez]).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Structure
impl RefUnwindSafe for Structure
impl Send for Structure
impl Sync for Structure
impl Unpin for Structure
impl UnsafeUnpin for Structure
impl UnwindSafe for Structure
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