pub struct SWFJC {
    pub hinge_mass: f64,
    pub link_length: f64,
    pub number_of_links: u8,
    pub well_width: f64,
    pub thermodynamics: SWFJC,
}
Expand description

The structure of the SWFJC model.

Fields§

§hinge_mass: f64

The mass of each hinge in the chain in units of kg/mol.

§link_length: f64

The length of each link in the chain in units of nm.

§number_of_links: u8

The number of links in the chain.

§well_width: f64

The width of the well in units of nm.

§thermodynamics: SWFJC

The thermodynamic functions of the model.

Implementations§

The implemented functionality of the SWFJC model.

Initializes and returns an instance of the SWFJC model.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.