pub struct DocumentTree {
pub document: Rc<Document>,
pub children: Vec<Rc<RefCell<DocumentTree>>>,
pub prefix_index: Rc<RefCell<HashMap<String, Rc<RefCell<DocumentTree>>>>>,
}Fields§
§document: Rc<Document>§children: Vec<Rc<RefCell<DocumentTree>>>§prefix_index: Rc<RefCell<HashMap<String, Rc<RefCell<DocumentTree>>>>>Complete document tree index, k= document prefix, v= document tree
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DocumentTree
impl !Send for DocumentTree
impl !Sync for DocumentTree
impl !UnwindSafe for DocumentTree
impl Freeze for DocumentTree
impl Unpin for DocumentTree
impl UnsafeUnpin for DocumentTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more