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