pub struct DsspAssignment {
pub chain_id: char,
pub states: Vec<DsspState>,
}Expand description
Full DSSP assignment result for a chain.
Fields§
§chain_id: charChain identifier.
states: Vec<DsspState>One 8-state assignment per residue.
Implementations§
Source§impl DsspAssignment
impl DsspAssignment
Sourcepub fn to_string_codes(&self) -> String
pub fn to_string_codes(&self) -> String
Convert to a string of single-character DSSP codes.
Sourcepub fn to_simplified(&self) -> SecondaryStructureAssignment
pub fn to_simplified(&self) -> SecondaryStructureAssignment
Convert to the simplified 4-state assignment.
Sourcepub fn counts(&self) -> DsspCounts
pub fn counts(&self) -> DsspCounts
Count of each DSSP state.
Trait Implementations§
Source§impl Clone for DsspAssignment
impl Clone for DsspAssignment
Source§fn clone(&self) -> DsspAssignment
fn clone(&self) -> DsspAssignment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DsspAssignment
impl Debug for DsspAssignment
Source§impl Summarizable for DsspAssignment
impl Summarizable for DsspAssignment
Auto Trait Implementations§
impl Freeze for DsspAssignment
impl RefUnwindSafe for DsspAssignment
impl Send for DsspAssignment
impl Sync for DsspAssignment
impl Unpin for DsspAssignment
impl UnsafeUnpin for DsspAssignment
impl UnwindSafe for DsspAssignment
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