pub struct Node<'a, 'w: 'a> {
writer: &'a mut Writer<'w>,
}
Expand description
Single node in a NAR file.
A NAR can be thought of as a tree of nodes represented by this type. Each node can be a file, a symlink or a directory containing other nodes.
Fields§
§writer: &'a mut Writer<'w>
Implementations§
Auto Trait Implementations§
impl<'a, 'w> Freeze for Node<'a, 'w>
impl<'a, 'w> !RefUnwindSafe for Node<'a, 'w>
impl<'a, 'w> Send for Node<'a, 'w>
impl<'a, 'w> !Sync for Node<'a, 'w>
impl<'a, 'w> Unpin for Node<'a, 'w>
impl<'a, 'w> !UnwindSafe for Node<'a, 'w>
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