pub struct TreeEntry {
pub path: VirtualPath,
pub depth: u32,
pub node: Node,
}Expand description
One entry in a recursive tree traversal.
Fields§
§path: VirtualPathThe absolute path of the returned node.
depth: u32The depth below the traversal root.
node: NodeThe node metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TreeEntry
impl<'de> Deserialize<'de> for TreeEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TreeEntry
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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