pub struct ListedEntry {
pub path: PathBuf,
pub name: String,
pub kind: FileKind,
}Expand description
One thing in a folder, as Dart’s FileSystemEntity.
Fields§
§path: PathBufThe entry’s full path, as the folder’s was given, joined with its name.
name: StringThe entry’s name alone.
kind: FileKindA file, a folder, a link or something else.
Trait Implementations§
Source§impl Clone for ListedEntry
impl Clone for ListedEntry
Source§impl Debug for ListedEntry
impl Debug for ListedEntry
impl Eq for ListedEntry
Source§impl PartialEq for ListedEntry
impl PartialEq for ListedEntry
impl StructuralPartialEq for ListedEntry
Auto Trait Implementations§
impl Forget for ListedEntry
impl Freeze for ListedEntry
impl Move for ListedEntry
impl RefUnwindSafe for ListedEntry
impl Send for ListedEntrywhere
RawVecInner: Send,
impl Sync for ListedEntrywhere
RawVecInner: Sync,
impl Unpin for ListedEntry
impl UnsafeUnpin for ListedEntry
impl UnwindSafe for ListedEntrywhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.