Expand description
Trajectory layer (Layer 2): multi-model structure access.
This module provides the Trajectory trait for accessing ordered
collections of Model frames, plus two implementations:
ArrayTrajectory: eager — stores all frames asVec<Model>.ModelCoordsTrajectory: lazy — stores one topology +Coordinates.
All implementations are object-safe (dyn Trajectory works).
Re-exports§
pub use array_trajectory::ArrayTrajectory;pub use coordinates::Coordinates;pub use coordinates::Frame;pub use coordinates::UnitCell;pub use model_coords_trajectory::ModelCoordsTrajectory;
Modules§
- array_
trajectory - Eager trajectory: all frames held in memory as
Vec<Model>. - coordinates
- Coordinate data for trajectory frames.
- model_
coords_ trajectory - Lazy trajectory: one topology + many coordinate frames.
Traits§
- Trajectory
- Multi-model structure access. Object-safe: usable as
dyn Trajectory.