pub struct DirNode {
pub name: String,
pub path: String,
pub files: Vec<FileRef>,
pub subdirs: Vec<DirNode>,
}Expand description
A node in an RPF directory tree. Stores indices into the flat RpfArchive.entries slice.
Fields§
§name: String§path: String§files: Vec<FileRef>§subdirs: Vec<DirNode>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirNode
impl RefUnwindSafe for DirNode
impl Send for DirNode
impl Sync for DirNode
impl Unpin for DirNode
impl UnsafeUnpin for DirNode
impl UnwindSafe for DirNode
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