[][src]Struct codenano::Parameters

pub struct Parameters {
    pub z_step: f64,
    pub helix_radius: f64,
    pub bases_per_turn: f64,
    pub groove_angle: f64,
    pub inter_helix_gap: f64,
}

DNA geometric parameters.

Fields

z_step: f64

Distance between two consecutive bases along the axis of a helix, in nanometers.

helix_radius: f64

Radius of a helix, in nanometers.

bases_per_turn: f64

Number of bases per turn in nanometers.

groove_angle: f64

Minor groove angle. DNA helices have a "minor groove" and a "major groove", meaning that two paired nucleotides are not at opposite positions around a double helix (i.e. at an angle of 180°), but instead have a different angle.

Strands are directed. The "normal" direction is called "5' to 3'" (named after parts of the nucleotides). This parameter is the small angle, which is clockwise from the normal strand to the reverse strand.

inter_helix_gap: f64

Gap between two neighbouring helices.

Implementations

impl Parameters[src]

pub const DEFAULT: Parameters[src]

Default values for the parameters of DNA, taken from the litterature.

Trait Implementations

impl Clone for Parameters[src]

impl Copy for Parameters[src]

impl Debug for Parameters[src]

impl<'de> Deserialize<'de> for Parameters[src]

impl Serialize for Parameters[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.