mod louds_impl;
extern crate fid_rs;
use fid_rs::Fid;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
#[cfg(feature = "mem_dbg")]
use mem_dbg::{MemDbg, MemSize};
#[derive(Clone, Debug)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "mem_dbg", derive(MemDbg, MemSize))]
pub struct Louds {
lbs: Fid,
}
#[derive(PartialEq, Eq, Debug, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "mem_dbg", derive(MemDbg, MemSize))]
#[repr(transparent)]
pub struct LoudsNodeNum(pub u64);
#[derive(PartialEq, Eq, Debug, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "mem_dbg", derive(MemDbg, MemSize))]
#[repr(transparent)]
pub struct LoudsIndex(pub u64);
pub struct ChildIndexIter<'a> {
inner: &'a Louds,
node: LoudsNodeNum,
start: Option<u64>,
end: Option<u64>,
}
pub struct ChildNodeIter<'a>(ChildIndexIter<'a>);
pub struct AncestorNodeIter<'a> {
inner: &'a Louds,
node: LoudsNodeNum,
}