Trait pdbtbx::ContainsAtomConformer
source · pub trait ContainsAtomConformer {
// Required methods
fn atom(&self) -> &Atom;
fn conformer(&self) -> &Conformer;
// Provided methods
fn is_backbone(&self) -> bool { ... }
fn is_sidechain(&self) -> bool { ... }
}
Expand description
A trait which defines all functions on a hierarchy which contains Atoms and Conformers.
Required Methods§
Provided Methods§
sourcefn is_backbone(&self) -> bool
fn is_backbone(&self) -> bool
Tests if this atom is part of the protein backbone
sourcefn is_sidechain(&self) -> bool
fn is_sidechain(&self) -> bool
Tests if this atom is part of a side chain of an amino acid