Skip to main content

Select

Trait Select 

Source
pub trait Select {
    // Provided methods
    fn accept_model(&self, _model: ModelIndex) -> bool { ... }
    fn accept_chain(&self, _chain: ChainIndex) -> bool { ... }
    fn accept_residue(&self, _residue: ResidueIndex) -> bool { ... }
    fn accept_atom(&self, _atom: AtomIndex) -> bool { ... }
}
Expand description

Which parts of a structure a write should include.

Provided Methods§

Source

fn accept_model(&self, _model: ModelIndex) -> bool

Whether to write this model.

Source

fn accept_chain(&self, _chain: ChainIndex) -> bool

Whether to write this chain.

Source

fn accept_residue(&self, _residue: ResidueIndex) -> bool

Whether to write this residue.

Source

fn accept_atom(&self, _atom: AtomIndex) -> bool

Whether to write this atom.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§