pub struct SessionTree {
pub nodes: Vec<TreeNode>,
pub roots: Vec<usize>,
}Expand description
Every entry of a session as a tree, stored flat.
Fields§
§nodes: Vec<TreeNode>The nodes, in file order.
roots: Vec<usize>Indexes of entries without a known parent.
Trait Implementations§
Source§impl Clone for SessionTree
impl Clone for SessionTree
Source§impl Debug for SessionTree
impl Debug for SessionTree
Source§impl Default for SessionTree
impl Default for SessionTree
Source§impl PartialEq for SessionTree
impl PartialEq for SessionTree
impl StructuralPartialEq for SessionTree
Auto Trait Implementations§
impl Freeze for SessionTree
impl RefUnwindSafe for SessionTree
impl Send for SessionTree
impl Sync for SessionTree
impl Unpin for SessionTree
impl UnsafeUnpin for SessionTree
impl UnwindSafe for SessionTree
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