Skip to main content

Module core

Module core 

Source
Expand description

Chunked columnar storage, the provider machinery, and the snapshot representation the curated crate::Structure wraps.

This is molframe-core’s own storage layer, re-exported unchanged. A caller writing a custom format reader or a new provider needs it; a caller reading and analysing structures does not, which is why it lives here and not at the crate root.

Structs§

AtomChunk
A contiguous run of atoms, stored column by column.
AtomChunkStats
Everything a chunk knows about itself without reading a row.
AtomEndpoint
Stable atom identity independent of chunk residency.
AtomRecord
One atom’s worth of everything a chunk stores.
BitVec
A compact set of bits.
BondChunk
One independently requestable range of an immutable bond table.
BondChunkProvider
Zero-copy provider for regularly paged chemical bond topology.
BondChunkRecord
One bond projected from native storage with global atom endpoints.
ChunkBuilder
Accumulates atoms and closes chunks at residue boundaries.
ChunkDescriptor
Stable global identity and compact local extent of one chunk.
ChunkId
Stable 64-bit chunk.
CoordinateBlock
The positions of one frame.
CoordinateGeneration
How many times the coordinates of a structure have changed.
DatasetCatalog
Hierarchical catalog whose memory scales with datasets, not logical chunks.
DatasetDescriptor
O(1) metadata for one logical dataset.
DatasetId
Stable 64-bit dataset.
ElementMask
The set of elements present, one bit per atomic number.
Extremes
A running minimum and maximum over values that may not all be recorded.
FrameChunk
One coordinate-frame chunk retaining shared aligned storage.
FrameChunkProvider
Zero-copy provider for one coordinate frame over an existing chunk layout.
Interner
A structure’s identifier dictionary.
LocalRow
Compact row index used only inside one resident chunk.
LogicalRow
Stable 64-bit logical row.
PropertyChunk
One typed property chunk retaining its immutable source snapshot.
PropertyChunkProvider
Zero-copy provider for one typed atom property.
Structure
An immutable structure, shared by reference.
StructureChunk
One structure chunk retaining its immutable native snapshot.
StructureChunkProvider
Zero-copy provider for structure chunks already present in one snapshot.
StructureData
Everything a structure holds.
StructureView
A zero-copy subset of a structure.

Enums§

AtomSelection
A set of atoms, addressed by position in the structure’s flat atom order.
ChunkLayout
How chunk boundaries are determined.
CoordinateStore
Where the positions of each model live.
EncodedColumn
One column of a chunk, in whichever physical form fits its data.
ParentMapping
How an atom’s residue is recovered.
PayloadKind
Payload carried by a dataset.
Presence
What a column says about one position.
PropertyKind
Physical type of a property payload.
PropertyValue
One property value projected without materialising a column.
ProviderError
Failure to describe or produce an out-of-core chunk.
ValidityMask
Which positions of a column carry a value, and why the others do not.

Constants§

TARGET_CHUNK_ATOMS
Atoms per chunk before a new one is started.
TARGET_CHUNK_BONDS
Default maximum number of bonds independently requested in one payload.