pub struct CanonicalAtomRow<'a> { /* private fields */ }Expand description
One allocation-free atom-site row over a borrowed model snapshot.
Implementations§
Source§impl<'a> CanonicalAtomRow<'a>
impl<'a> CanonicalAtomRow<'a>
Sourcepub const fn atom_site_id(self) -> i64
pub const fn atom_site_id(self) -> i64
Deposited atom-site identifier.
Sourcepub fn element(self) -> CanonicalValue<Element>
pub fn element(self) -> CanonicalValue<Element>
Element or an explicit unknown value.
Sourcepub const fn label_atom_id(self) -> &'a str
pub const fn label_atom_id(self) -> &'a str
Normalised atom identifier.
Sourcepub fn label_alt_id(self) -> CanonicalValue<&'a str>
pub fn label_alt_id(self) -> CanonicalValue<&'a str>
Alternate-location identifier, inapplicable for the shared position.
Sourcepub const fn label_comp_id(self) -> &'a str
pub const fn label_comp_id(self) -> &'a str
Effective component identifier.
Sourcepub const fn label_asym_id(self) -> &'a str
pub const fn label_asym_id(self) -> &'a str
Normalised chain identifier.
Sourcepub fn label_entity_id(self) -> CanonicalValue<&'a str>
pub fn label_entity_id(self) -> CanonicalValue<&'a str>
Entity identifier, inapplicable when the chain has none.
Sourcepub fn label_seq_id(self) -> CanonicalValue<i64>
pub fn label_seq_id(self) -> CanonicalValue<i64>
Canonical sequence position.
Sourcepub fn insertion_code(self) -> CanonicalValue<&'a str>
pub fn insertion_code(self) -> CanonicalValue<&'a str>
Depositor insertion code.
Sourcepub fn coordinate(self, axis: usize) -> CanonicalValue<f64>
pub fn coordinate(self, axis: usize) -> CanonicalValue<f64>
Cartesian coordinate at stored precision; text writers choose their own precision.
Sourcepub fn occupancy(self) -> CanonicalValue<f64>
pub fn occupancy(self) -> CanonicalValue<f64>
Occupancy at stored precision.
Sourcepub fn b_factor(self) -> CanonicalValue<f64>
pub fn b_factor(self) -> CanonicalValue<f64>
Isotropic temperature factor at stored precision.
Sourcepub fn formal_charge(self) -> CanonicalValue<i64>
pub fn formal_charge(self) -> CanonicalValue<i64>
Formal charge, unknown when the atom carries none.
Sourcepub fn auth_seq_id(self) -> CanonicalValue<i64>
pub fn auth_seq_id(self) -> CanonicalValue<i64>
Depositor sequence position.
Sourcepub fn auth_comp_id(self) -> CanonicalValue<&'a str>
pub fn auth_comp_id(self) -> CanonicalValue<&'a str>
Depositor component identifier.
Sourcepub fn auth_asym_id(self) -> CanonicalValue<&'a str>
pub fn auth_asym_id(self) -> CanonicalValue<&'a str>
Depositor chain identifier.
Sourcepub fn auth_atom_id(self) -> CanonicalValue<&'a str>
pub fn auth_atom_id(self) -> CanonicalValue<&'a str>
Depositor atom identifier.
Sourcepub const fn model_number(self) -> i64
pub const fn model_number(self) -> i64
Deposited model number.
Trait Implementations§
Source§impl<'a> Clone for CanonicalAtomRow<'a>
impl<'a> Clone for CanonicalAtomRow<'a>
impl<'a> Copy for CanonicalAtomRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for CanonicalAtomRow<'a>
impl<'a> RefUnwindSafe for CanonicalAtomRow<'a>
impl<'a> Send for CanonicalAtomRow<'a>
impl<'a> Sync for CanonicalAtomRow<'a>
impl<'a> Unpin for CanonicalAtomRow<'a>
impl<'a> UnsafeUnpin for CanonicalAtomRow<'a>
impl<'a> UnwindSafe for CanonicalAtomRow<'a>
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