pub enum CenteringMode {
Auto,
Center,
Off,
}Expand description
Centering behavior for structure coordinates.
Packmol semantics:
Auto: free molecules are centered; fixed molecules are not centered.Center: force centering.Off: keep input coordinates unchanged.
Variants§
Trait Implementations§
Source§impl Clone for CenteringMode
impl Clone for CenteringMode
Source§fn clone(&self) -> CenteringMode
fn clone(&self) -> CenteringMode
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 CenteringMode
Source§impl Debug for CenteringMode
impl Debug for CenteringMode
Source§impl Default for CenteringMode
impl Default for CenteringMode
Source§fn default() -> CenteringMode
fn default() -> CenteringMode
Returns the “default value” for a type. Read more
impl Eq for CenteringMode
Source§impl PartialEq for CenteringMode
impl PartialEq for CenteringMode
Source§fn eq(&self, other: &CenteringMode) -> bool
fn eq(&self, other: &CenteringMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CenteringMode
Auto Trait Implementations§
impl Freeze for CenteringMode
impl RefUnwindSafe for CenteringMode
impl Send for CenteringMode
impl Sync for CenteringMode
impl Unpin for CenteringMode
impl UnsafeUnpin for CenteringMode
impl UnwindSafe for CenteringMode
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