pub enum DsspState {
H,
G,
I,
E,
B,
T,
S,
C,
}Expand description
Full 8-state DSSP classification.
Variants§
H
Alpha-helix (i -> i+4 H-bond pattern, >= 4 consecutive).
G
3_10-helix (i -> i+3 H-bond pattern).
I
Pi-helix (i -> i+5 H-bond pattern).
E
Extended strand in beta-sheet.
B
Isolated beta-bridge residue.
T
Hydrogen-bonded turn.
S
Bend (CA angle > 70 degrees).
C
Coil / loop (none of the above).
Implementations§
Source§impl DsspState
impl DsspState
Sourcepub fn to_simplified(&self) -> SecondaryStructure
pub fn to_simplified(&self) -> SecondaryStructure
Convert to the simplified 4-state classification.
Trait Implementations§
impl Copy for DsspState
impl Eq for DsspState
impl StructuralPartialEq for DsspState
Auto Trait Implementations§
impl Freeze for DsspState
impl RefUnwindSafe for DsspState
impl Send for DsspState
impl Sync for DsspState
impl Unpin for DsspState
impl UnsafeUnpin for DsspState
impl UnwindSafe for DsspState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more