pub struct InteractionQuantity {
pub name: String,
pub reduction_method: ReductionMethod,
pub target_a: String,
pub target_b: String,
pub symmetry: InteractionSymmetry,
pub expression: Expression,
}Expand description
Specific quantity determined by the interaction of two particle types
Fields§
§name: String§reduction_method: ReductionMethod§target_a: String§target_b: String§symmetry: InteractionSymmetry§expression: ExpressionTrait Implementations§
Source§impl Clone for InteractionQuantity
impl Clone for InteractionQuantity
Source§fn clone(&self) -> InteractionQuantity
fn clone(&self) -> InteractionQuantity
Returns a copy 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 Debug for InteractionQuantity
impl Debug for InteractionQuantity
Source§impl PartialEq for InteractionQuantity
impl PartialEq for InteractionQuantity
impl StructuralPartialEq for InteractionQuantity
Auto Trait Implementations§
impl Freeze for InteractionQuantity
impl RefUnwindSafe for InteractionQuantity
impl Send for InteractionQuantity
impl Sync for InteractionQuantity
impl Unpin for InteractionQuantity
impl UnwindSafe for InteractionQuantity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more