pub struct OutsideSphereRestraint {
pub center: [F; 3],
pub radius: F,
}Expand description
Packmol kind 8 — quadratic penalty forcing atom outside sphere.
Fields§
§center: [F; 3]§radius: FImplementations§
Trait Implementations§
Source§impl AtomRestraint for OutsideSphereRestraint
impl AtomRestraint for OutsideSphereRestraint
Source§impl Clone for OutsideSphereRestraint
impl Clone for OutsideSphereRestraint
Source§fn clone(&self) -> OutsideSphereRestraint
fn clone(&self) -> OutsideSphereRestraint
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 moreimpl Copy for OutsideSphereRestraint
Auto Trait Implementations§
impl Freeze for OutsideSphereRestraint
impl RefUnwindSafe for OutsideSphereRestraint
impl Send for OutsideSphereRestraint
impl Sync for OutsideSphereRestraint
impl Unpin for OutsideSphereRestraint
impl UnsafeUnpin for OutsideSphereRestraint
impl UnwindSafe for OutsideSphereRestraint
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