pub struct PackResult {
pub frame: Frame,
pub fdist: F,
pub frest: F,
pub converged: bool,
}Expand description
Result of a packing run.
The frame contains an “atoms” block with x, y, z, element, mol_id
columns — moved from the packing context (zero-copy ownership transfer).
Fields§
§frame: FrameAtoms frame with x, y, z (f32), element (String), mol_id (i64).
fdist: FMaximum inter-molecular distance violation at termination.
frest: FMaximum constraint violation at termination.
converged: boolWhether the packing converged (fdist < precision && frest < precision).
Implementations§
Trait Implementations§
Source§impl Clone for PackResult
impl Clone for PackResult
Source§fn clone(&self) -> PackResult
fn clone(&self) -> PackResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PackResult
impl !UnwindSafe for PackResult
impl Freeze for PackResult
impl Send for PackResult
impl Sync for PackResult
impl Unpin for PackResult
impl UnsafeUnpin for PackResult
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