pub struct DirEntry {
pub name: String,
pub is_dir: bool,
pub hidden: bool,
}Expand description
What is in a folder, as expand_resources is told it.
Fields§
§name: StringThe file’s name, without the folder’s.
is_dir: boolIt is a folder.
Hidden, or belonging to the system: such files are left out.
Trait Implementations§
impl Eq for DirEntry
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl Forget for DirEntry
impl Freeze for DirEntry
impl Move for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntrywhere
RawVecInner: Send,
impl Sync for DirEntrywhere
RawVecInner: Sync,
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntrywhere
RawVecInner: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.