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