pub struct TreeNode<'a> {
pub entry: &'a FileEntry,
pub children: Vec<usize>,
pub label: Option<&'a str>,
pub label_timestamp: Option<&'a str>,
}Expand description
One node of get_tree data, as pi’s SessionTreeNode.
Fields§
§entry: &'a FileEntry§children: Vec<usize>Indexes into the same node list.
label: Option<&'a str>§label_timestamp: Option<&'a str>Auto Trait Implementations§
impl<'a> Freeze for TreeNode<'a>
impl<'a> RefUnwindSafe for TreeNode<'a>
impl<'a> Send for TreeNode<'a>
impl<'a> Sync for TreeNode<'a>
impl<'a> Unpin for TreeNode<'a>
impl<'a> UnsafeUnpin for TreeNode<'a>
impl<'a> UnwindSafe for TreeNode<'a>
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