pub struct NoInteraction;Expand description
Structure representing an interaction with always zero energy.
Trait Implementations§
Source§impl Clone for NoInteraction
impl Clone for NoInteraction
Source§fn clone(&self) -> NoInteraction
fn clone(&self) -> NoInteraction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Cutoff for NoInteraction
impl Cutoff for NoInteraction
Source§impl Debug for NoInteraction
impl Debug for NoInteraction
Source§impl Default for NoInteraction
impl Default for NoInteraction
Source§fn default() -> NoInteraction
fn default() -> NoInteraction
Returns the “default value” for a type. Read more
Source§impl PartialEq for NoInteraction
impl PartialEq for NoInteraction
impl Copy for NoInteraction
impl Eq for NoInteraction
impl StructuralPartialEq for NoInteraction
Auto Trait Implementations§
impl Freeze for NoInteraction
impl RefUnwindSafe for NoInteraction
impl Send for NoInteraction
impl Sync for NoInteraction
impl Unpin for NoInteraction
impl UnsafeUnpin for NoInteraction
impl UnwindSafe for NoInteraction
Blanket Implementations§
Source§impl<T> AnisotropicTwobodyEnergy for Twhere
T: IsotropicTwobodyEnergy,
impl<T> AnisotropicTwobodyEnergy for Twhere
T: IsotropicTwobodyEnergy,
Source§fn anisotropic_twobody_energy(&self, orientation: &RelativeOrientation) -> f64
fn anisotropic_twobody_energy(&self, orientation: &RelativeOrientation) -> f64
Interaction energy between a pair of anisotropic particles, 𝑈(𝒓).
Source§fn anisotropic_twobody_force(
&self,
orientation: &RelativeOrientation,
) -> Vector3<f64>
fn anisotropic_twobody_force( &self, orientation: &RelativeOrientation, ) -> Vector3<f64>
Force magnitude due to an anisotropic interaction potential, 𝐹(𝒓) = -𝞩𝑈(𝒓)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.