molgfx-core 0.3.3

The semantic scene graph: columnar tables, GPU record layouts, the borrowed coordinate seam.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Caller- or molframe-supplied secondary-structure state.

/// Reversible per-residue cartoon classification. The renderer never infers
/// this state; callers may apply records produced by `molframe`.
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default)]
pub enum SecondaryStructure {
    /// Missing or not yet evaluated assignment.
    #[default]
    Unknown,
    /// No helix or sheet assignment.
    Coil,
    /// Alpha helix.
    Helix,
    /// Beta strand.
    Strand,
    /// Hydrogen-bonded turn.
    Turn,
}