pub struct PdbHeaders { /* private fields */ }Expand description
Every metadata record in archive order.
Implementations§
Source§impl PdbHeaders
impl PdbHeaders
Source§impl PdbHeaders
impl PdbHeaders
Sourcepub fn records(&self) -> &[PdbHeaderRecord]
pub fn records(&self) -> &[PdbHeaderRecord]
All metadata records in archive order.
Sourcepub fn named<'a>(
&'a self,
name: &'a str,
) -> impl Iterator<Item = &'a PdbHeaderRecord>
pub fn named<'a>( &'a self, name: &'a str, ) -> impl Iterator<Item = &'a PdbHeaderRecord>
Records of one type, retaining their archive order.
Sourcepub fn classification(&self) -> Option<&str>
pub fn classification(&self) -> Option<&str>
Classification from columns 11–50 of HEADER.
Sourcepub fn deposition_date(&self) -> Option<&str>
pub fn deposition_date(&self) -> Option<&str>
Deposition date from columns 51–59 of HEADER.
Source§impl PdbHeaders
impl PdbHeaders
Sourcepub fn resolution(&self) -> Option<f64>
pub fn resolution(&self) -> Option<f64>
The resolution in ångström that REMARK 2 deposits, when it gives one.
Sourcepub fn missing_residues(&self) -> Vec<MissingResidue>
pub fn missing_residues(&self) -> Vec<MissingResidue>
The residues REMARK 465 lists as missing from the model.
Sourcepub fn biomolecules(&self) -> Vec<Biomolecule>
pub fn biomolecules(&self) -> Vec<Biomolecule>
The biological assemblies REMARK 350 defines.
Trait Implementations§
Source§impl Clone for PdbHeaders
impl Clone for PdbHeaders
Source§impl Debug for PdbHeaders
impl Debug for PdbHeaders
Source§impl Default for PdbHeaders
impl Default for PdbHeaders
impl Eq for PdbHeaders
Source§impl PartialEq for PdbHeaders
impl PartialEq for PdbHeaders
impl StructuralPartialEq for PdbHeaders
Auto Trait Implementations§
impl Freeze for PdbHeaders
impl RefUnwindSafe for PdbHeaders
impl Send for PdbHeaders
impl Sync for PdbHeaders
impl Unpin for PdbHeaders
impl UnsafeUnpin for PdbHeaders
impl UnwindSafe for PdbHeaders
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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