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 edit;
15mod extensions;
16#[cfg(test)]
17mod extensions_tests;
18mod handle;
19mod handle_helpers;
20mod materialize;
21mod merge;
22mod merge_annotations;
23mod overlay;
24mod sequence;
25mod validate;
26mod view;
27
28pub use data::*;
29pub use diff::*;
30pub use edit::*;
31pub use extensions::*;
32pub use handle::*;
33pub use overlay::*;
34pub use sequence::*;
35pub use validate::*;
36pub use view::*;