Expand description
Facade crate that re-exports COSMolKit core modules.
Re-exports§
pub use cosmolkit_core as core;
Modules§
- adjacency
- atom
- batch
- bio
- Biomolecular structure primitives and traversal helpers.
- bond
- canon_
smiles - distgeom
- draw
- RDKit MolDraw2D-compatible drawing entry points.
- fingerprint
- hydrogens
- io
- File format I/O entry points for chemistry and biomolecular data.
- kekulize
- molecule
- query
- sanitize
- smiles_
write - stereo
- valence
Structs§
- Adjacency
List - Graph adjacency list indexed by atom index.
- Atom
- Atom record in a molecule graph.
- Batch
Export Report - Batch
Progress Bar - Terminal progress bar for Rust batch workflows.
- Batch
Record Error - Batch
Validation Error - Bond
- Bond record in a molecule graph.
- Conformer
Store - Coordinate storage owned separately from topology.
- Fingerprint
- Molecule
- Molecular graph with split owned topology, coordinate, and metadata blocks.
- Molecule
Batch - Morgan
Additional Output - Morgan
Bond Invariants Generator - Morgan
Fingerprint Output - Morgan
Fingerprint Params - Neighbor
Ref - Adjacency entry: neighboring atom and corresponding bond index.
- Prepared
Draw Atom - Atom snapshot after the RDKit
PrepareMolForDrawing()preparation boundary. - Prepared
Draw Bond - Bond snapshot after the RDKit
PrepareMolForDrawing()preparation boundary. - Prepared
Draw Molecule - Molecule snapshot after the RDKit
PrepareMolForDrawing()preparation boundary. - Property
Store - Molecule-level metadata storage.
- Sanitize
Error - Sanitize
Ops - Smiles
Write Params - Tetrahedral
Stereo - Ordered tetrahedral stereochemistry for one atom center.
- Topology
Data - Persistent topology storage owned by a molecule value.
- Valence
Assignment - Per-atom valence assignment result.
Enums§
- AddHydrogens
Error - Atom
Query Predicate - Batch
Error Mode - Batch
Record - Bond
Direction - RDKit-style directional single-bond marker used for SMILES cis/trans stereo.
- Bond
Order - Bond order for chemical edges.
- Bond
Query Predicate - Bond
Stereo - RDKit-style double-bond stereo assignment.
- Chiral
Tag - Coordinate
Dimension - DgBounds
Error - Fingerprint
Error - Ligand
Ref - A ligand participating in a tetrahedral stereocenter.
- Morgan
Atom Invariants Generator - Query
Node - Remove
Hydrogens Error - Sanitize
Step - Smiles
Parse Error - Errors returned by SMILES parsing routines.
- Smiles
Write Error - SvgDraw
Error - Errors returned by SVG drawing routines.
- Valence
Error - Valence handling errors.
- Valence
Model - Valence model selector for future compatibility modes.
Functions§
- add_
hydrogens_ in_ place - assign_
double_ bond_ stereo_ from_ directions - Assign double-bond stereochemistry from stored directional single bonds.
- assign_
radicals_ rdkit_ 2025 - RDKit 2026.03.1 MolOps::assignRadicals parity helper.
- assign_
valence - Compute explicit valence and implicit hydrogen assignment.
- batch_
progress_ bar - Create a progress bar when
enabledis true andtotalis non-zero. - rdkit_
valence_ list - Returns the RDKit 2026.03.1 valence list for an atomic number.
- remove_
hydrogens_ in_ place - version
- Returns the crate version at compile time.
Type Aliases§
- Batch
Progress - Optional per-record progress callback used by parallel batch operations.