Skip to main content

ferritin_core/unit/
mod.rs

1//! Zero-copy view layer for subset selection on [`Model`][crate::model::Model].
2//!
3//! A [`Unit`] represents a selection of atoms within a
4//! [`Model`][crate::model::Model] without copying the underlying data. It stores
5//! an [`OrderedSet`][crate::data::OrderedSet] of atom indices and provides
6//! lazy iterators for accessing coordinates and performing set operations.
7
8mod unit;
9
10pub use unit::Unit;