use crate::ChildCell; use easy_node::NrCell; #[derive(Debug)] pub struct ParentCell { _value: T, child: NrCell>, } impl ParentCell { pub fn new(value: T, child: NrCell>) -> Self { Self { _value: value, child, } } pub fn child(&self) -> &NrCell> { &self.child } }