Skip to main content

molframe_core/
secondary.rs

1//! Per-residue secondary-structure vocabulary shared by readers and analyses.
2
3/// A residue-level structural assignment.
4#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
5pub enum SecondaryStructure {
6    /// The file and available analyses supplied no assignment.
7    #[default]
8    Unknown,
9    /// A residue outside a helix or sheet.
10    Coil,
11    /// An alpha or other helical segment.
12    Helix,
13    /// A beta strand.
14    Strand,
15    /// A short hydrogen-bonded turn.
16    Turn,
17}