Skip to main content

ifc_material/
usage.rs

1//! Resolving which material applies to a given element.
2//!
3//! Material can be assigned to the element or to its type, with the element
4//! winning. Resolution order is a common source of wrong answers.
5
6//! ## Internal split
7//!
8//! - `assignment.rs`: RelAssociatesMaterial view.
9//! - `resolution.rs`: bounded association resolution.
10
11mod assignment;
12mod resolution;
13
14pub use assignment::MaterialAssignment;
15#[cfg(test)]
16pub(crate) use resolution::SELECT_MEMBERS;
17pub use resolution::{
18    AssignmentSource, MaterialDefinition, MaterialUsageDefinition, ResolvedAssignment,
19    ResolvedMaterialSelect,
20};