[]Struct lumol::sys::Permutation

pub struct Permutation {
    pub old: usize,
    pub new: usize,

The Permutation struct contains the old and new particle index in a Configuration after the particles where moved due to a new bond being added


old: usize

The old particle index

new: usize

The new particle index

Trait Implementations

impl Clone for Permutation

impl Copy for Permutation

impl Debug for Permutation

impl Eq for Permutation

impl PartialEq<Permutation> for Permutation

impl StructuralEq for Permutation

impl StructuralPartialEq for Permutation

Auto Trait Implementations

impl RefUnwindSafe for Permutation

impl Send for Permutation

impl Sync for Permutation

impl Unpin for Permutation

impl UnwindSafe for Permutation

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,