pub struct DirectoryListing {
pub path: PathBuf,
pub entries: Vec<DirEntry>,
}Expand description
One directory and its entries, with attributes fetched during enumeration.
Fields§
§path: PathBuf§entries: Vec<DirEntry>Trait Implementations§
Source§impl Clone for DirectoryListing
impl Clone for DirectoryListing
Source§fn clone(&self) -> DirectoryListing
fn clone(&self) -> DirectoryListing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectoryListing
impl Debug for DirectoryListing
impl Eq for DirectoryListing
Source§impl PartialEq for DirectoryListing
impl PartialEq for DirectoryListing
impl StructuralPartialEq for DirectoryListing
Auto Trait Implementations§
impl Freeze for DirectoryListing
impl RefUnwindSafe for DirectoryListing
impl Send for DirectoryListing
impl Sync for DirectoryListing
impl Unpin for DirectoryListing
impl UnsafeUnpin for DirectoryListing
impl UnwindSafe for DirectoryListing
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