pub struct OutsideBoxRestraint {
pub min: [F; 3],
pub max: [F; 3],
}Expand description
Packmol kind 7 — linear penalty forcing atom outside axis-aligned box.
Fields§
§min: [F; 3]§max: [F; 3]Implementations§
Trait Implementations§
Source§impl AtomRestraint for OutsideBoxRestraint
impl AtomRestraint for OutsideBoxRestraint
Source§impl Clone for OutsideBoxRestraint
impl Clone for OutsideBoxRestraint
Source§fn clone(&self) -> OutsideBoxRestraint
fn clone(&self) -> OutsideBoxRestraint
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 OutsideBoxRestraint
Auto Trait Implementations§
impl Freeze for OutsideBoxRestraint
impl RefUnwindSafe for OutsideBoxRestraint
impl Send for OutsideBoxRestraint
impl Sync for OutsideBoxRestraint
impl Unpin for OutsideBoxRestraint
impl UnsafeUnpin for OutsideBoxRestraint
impl UnwindSafe for OutsideBoxRestraint
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