pub struct DirSnapshot {
pub cwd: PathBuf,
pub entry_count: usize,
/* private fields */
}Expand description
Snapshot of one directory listing refresh.
Fields§
§cwd: PathBufDirectory path used to build this snapshot.
entry_count: usizeNumber of captured entries in this snapshot.
Trait Implementations§
Source§impl Clone for DirSnapshot
impl Clone for DirSnapshot
Source§fn clone(&self) -> DirSnapshot
fn clone(&self) -> DirSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirSnapshot
impl RefUnwindSafe for DirSnapshot
impl Send for DirSnapshot
impl Sync for DirSnapshot
impl Unpin for DirSnapshot
impl UnsafeUnpin for DirSnapshot
impl UnwindSafe for DirSnapshot
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