pub struct FsDirEntry {
pub name: String,
pub path: Url,
pub is_dir: bool,
}Expand description
Entry returned by Fs::read_dir.
path is a file:// URL. For directory entries it ends with /.
Fields§
§name: String§path: Url§is_dir: boolTrait Implementations§
Source§impl Clone for FsDirEntry
impl Clone for FsDirEntry
Source§fn clone(&self) -> FsDirEntry
fn clone(&self) -> FsDirEntry
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 FsDirEntry
impl RefUnwindSafe for FsDirEntry
impl Send for FsDirEntry
impl Sync for FsDirEntry
impl Unpin for FsDirEntry
impl UnsafeUnpin for FsDirEntry
impl UnwindSafe for FsDirEntry
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