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§

source

fn atom(&self) -> &Atom

Get a reference to the atom

source

fn conformer(&self) -> &Conformer

Get a reference to the conformer

Provided Methods§

source

fn is_backbone(&self) -> bool

Tests if this atom is part of the protein backbone

source

fn is_sidechain(&self) -> bool

Tests if this atom is part of a side chain of an amino acid

Implementors§