pub struct Leaf<T> {
pub stat: Stat,
pub content: LeafContent<T>,
}Expand description
A leaf node representing a non-directory file.
Fields§
§stat: StatMetadata for this leaf node.
content: LeafContent<T>The content and type of this leaf node.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Leaf<T>
impl<T> !RefUnwindSafe for Leaf<T>
impl<T> Send for Leaf<T>where
T: Send,
impl<T> !Sync for Leaf<T>
impl<T> Unpin for Leaf<T>where
T: Unpin,
impl<T> UnwindSafe for Leaf<T>where
T: UnwindSafe,
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