pub struct ResiduesTable {
pub comp_id: Vec<String>,
pub label_seq_id: Vec<i32>,
pub auth_seq_id: Vec<i32>,
pub ins_code: Vec<Option<char>>,
pub group: Vec<ResidueGroup>,
}Expand description
Per-residue topology data.
Each field is a parallel array indexed by residue index.
Fields§
§comp_id: Vec<String>Residue name (CCD component ID), e.g. “ALA”, “HOH”, “ATP”.
label_seq_id: Vec<i32>Internal sequential residue index (label_seq_id in mmCIF).
auth_seq_id: Vec<i32>Author-assigned sequence number (auth_seq_id in mmCIF). Used as the primary sort key for canonical iteration order within a chain.
ins_code: Vec<Option<char>>Insertion code (e.g. Some('A')), or None. Secondary sort key for canonical order.
group: Vec<ResidueGroup>Whether this residue belongs to a polymer or non-polymer group.
Implementations§
Trait Implementations§
Source§impl Clone for ResiduesTable
impl Clone for ResiduesTable
Source§fn clone(&self) -> ResiduesTable
fn clone(&self) -> ResiduesTable
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 moreAuto Trait Implementations§
impl Freeze for ResiduesTable
impl RefUnwindSafe for ResiduesTable
impl Send for ResiduesTable
impl Sync for ResiduesTable
impl Unpin for ResiduesTable
impl UnsafeUnpin for ResiduesTable
impl UnwindSafe for ResiduesTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more