Skip to main content

molframe_core/structure/
mod.rs

1//! The normalised structure, the views over it, and the invariants it holds.
2//!
3//! A structure is immutable and shared by reference; editing produces a new one.
4//! That is what makes handing out a pointer to the coordinates safe, and it is
5//! why a view keeps working after the structure it came from has been superseded
6//! — it holds its own reference to the snapshot it was made against.
7
8#[cfg(test)]
9mod fixture;
10
11mod data;
12mod diff;
13mod disorder;
14mod disorder_checked;
15mod edit;
16mod extensions;
17#[cfg(test)]
18mod extensions_tests;
19mod handle;
20mod handle_helpers;
21mod materialize;
22mod merge;
23mod merge_annotations;
24mod overlay;
25mod sequence;
26mod validate;
27mod view;
28
29pub use data::*;
30pub use diff::*;
31pub use edit::*;
32pub use extensions::*;
33pub use handle::*;
34pub use overlay::*;
35pub use sequence::*;
36pub use validate::*;
37pub use view::*;