ifc-model 0.3.0

The IFC entity graph: storage and structural queries, free of domain semantics and serialization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Type buckets and reverse-reference indices.
//!
//! `ids_of_type` is served by an index built during insertion, because "every
//! entity of this type" is the most common query any consumer makes. The
//! reverse index is built on demand instead -- see `reverse.rs` for why.
//!
//! ## Internal split
//!
//! - `type_index.rs`: existing type-name lookup ownership.
//! - `reverse.rs`: target-to-referrer and slot reverse index.
//! - `builder.rs`: derived index construction and rebuild.

mod builder;
mod reverse;
mod type_index;

pub use reverse::{Referrer, ReverseIndex};