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