Enum include_dir::DirEntry
source · pub enum DirEntry<'a> {
Dir(Dir<'a>),
File(File<'a>),
}
Expand description
A directory entry, roughly analogous to std::fs::DirEntry
.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for DirEntry<'a>
impl<'a> PartialEq for DirEntry<'a>
impl<'a> StructuralPartialEq for DirEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirEntry<'a>
impl<'a> RefUnwindSafe for DirEntry<'a>
impl<'a> Send for DirEntry<'a>
impl<'a> Sync for DirEntry<'a>
impl<'a> Unpin for DirEntry<'a>
impl<'a> UnwindSafe for DirEntry<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)