1#![doc = include_str!("../README.md")]
2#![warn(
3 missing_docs,
4 clippy::unwrap_in_result,
5 clippy::unwrap_used,
6 clippy::panic,
7 clippy::panic_in_result_fn,
8 clippy::float_cmp,
9 clippy::float_cmp_const,
10 clippy::missing_panics_doc,
11 clippy::todo
12)]
13#![no_std]
14
15#[cfg(test)]
16extern crate std;
17
18extern crate alloc;
19
20pub mod iter;
22
23pub mod traversal;
25
26pub mod memory;
28
29pub mod pinned_storage;
31
32mod aliases;
33mod common_traits;
34mod dary;
35mod r#dyn;
36mod errors;
37mod node;
38mod node_mut;
39mod node_ref;
40mod subtrees;
41mod subtrees_within;
42mod tree;
43mod tree_node_idx;
44mod tree_variant;
45
46pub use common_traits::{DepthFirstSequence, DepthFirstSequenceError};
47pub use dary::{Binary, BinaryNode, BinaryTree, Dary, DaryNode, DaryTree};
48pub use r#dyn::{Dyn, DynNode, DynTree};
49pub use memory::{Auto, AutoWithThreshold, Lazy, MemoryPolicy};
50pub use node::Node;
51pub use node_mut::{NodeMut, NodeMutDown, NodeMutOrientation, NodeMutUpAndDown, Side};
52pub use node_ref::NodeRef;
53pub use subtrees::SubTree;
54pub use traversal::{Bfs, Dfs, PostOrder, Traversal, Traverser};
55pub use tree::Tree;
56pub use tree_node_idx::NodeIdx;
57pub use tree_variant::TreeVariant;
58
59pub use errors::NodeSwapError;
61pub use orx_selfref_col::NodeIdxError;
62
63pub use orx_iterable::{Collection, CollectionMut};
65
66#[cfg(feature = "orx-parallel")]
67pub use orx_parallel::*;