Skip to main content

Crate molframe_query

Crate molframe_query 

Source
Expand description

Typed, textual and reusable structural selection plans.

Modules§

col
Builder functions sharing the textual parser’s typed IR.

Structs§

Builder
A typed selection expression under construction.
ColumnBuilder
A typed column awaiting a predicate.
CompletionItem
One supported completion candidate.
CompletionResult
Completion response with a byte-addressed replacement range.
Evaluation
A selected atom set and non-fatal findings produced while resolving it.
LogicalPlan
An immutable storage-independent selection plan.
PhysicalQuery
A selection plan bound to one structure dictionary and policy.
Query
A parsed and reusable selection plan.
QueryAliases
An ordered set of named query definitions.
QueryFingerprint
Stable identity of a normalized molecular query.

Enums§

CompletionKind
The category of a completion item.
GeometricRequest
A fully planned geometric predicate.

Traits§

SpatialResolver
Executes geometric plan nodes without making the query crate depend on a particular spatial index implementation.
StructureValues
Lent, structure-derived completion values.

Functions§

compact_ranges
[20, 21, 22, 25] as 20-22,25. The input need not be sorted and may repeat.
complete
Computes completion using a UTF-8 byte cursor.
resid_query
A resid query for residues given as (chain, number) pairs: consecutive numbers share a range (resid 3:7), and each chain is its own scope (an empty chain name has none). Returns the query and the number of distinct residues, or None when there are none.

Type Aliases§

Groups
Named selections supplied to group <name> expressions.