honeycomb_core/attributes/
mod.rs1mod collections;
6mod manager;
7mod traits;
8
9pub use collections::AttrSparseVec;
10pub use traits::{AttributeBind, AttributeStorage, AttributeUpdate, UnknownAttributeStorage};
11
12pub(crate) use manager::AttrStorageManager;
13
14#[derive(Debug, thiserror::Error, PartialEq, Eq)]
16pub enum AttributeError {
17 #[error("cannot merge attribute {0}: {1}")]
20 FailedMerge(&'static str, &'static str),
21 #[error("cannot split attribute {0}: {1}")]
24 FailedSplit(&'static str, &'static str),
25 #[error("insufficient data to complete {0} operation on {1}")]
27 InsufficientData(&'static str, &'static str),
28}
29
30#[allow(clippy::float_cmp)]
33#[cfg(test)]
34mod tests;