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§
Sourcefn accept_model(&self, _model: ModelIndex) -> bool
fn accept_model(&self, _model: ModelIndex) -> bool
Whether to write this model.
Sourcefn accept_chain(&self, _chain: ChainIndex) -> bool
fn accept_chain(&self, _chain: ChainIndex) -> bool
Whether to write this chain.
Sourcefn accept_residue(&self, _residue: ResidueIndex) -> bool
fn accept_residue(&self, _residue: ResidueIndex) -> bool
Whether to write this residue.
Sourcefn accept_atom(&self, _atom: AtomIndex) -> bool
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".