dltree 0.1.5

Doubly linked tree with leaf-considering typing
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::internal::node_impl::NodeImpl;
use std::cell::RefCell;
use std::rc::Weak;

pub mod leaf_impl;
pub mod node_impl;
pub mod tree_element_impl;

pub trait TreeElementTrait<IT, LT> {
    fn parent(&mut self) -> &mut Option<Weak<RefCell<NodeImpl<IT, LT>>>>;
}