pub struct DirNode {
pub path: PathBuf,
pub sub_dirs: Vec<DirNode>,
pub files: Vec<PathBuf>,
}Expand description
directory tree
Fieldsยง
ยงpath: PathBufยงsub_dirs: Vec<DirNode>ยงfiles: Vec<PathBuf>Implementationsยง
Trait Implementationsยง
Sourceยงimpl Ord for DirNode
impl Ord for DirNode
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for DirNode
impl PartialOrd for DirNode
impl Eq for DirNode
impl StructuralPartialEq for DirNode
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more