pub struct DirEnt {
pub name: String,
pub is_dir: bool,
}Expand description
One name in a directory listing.
Fields§
§name: String§is_dir: boolTrait Implementations§
impl Eq for DirEnt
impl StructuralPartialEq for DirEnt
Auto Trait Implementations§
impl Forget for DirEnt
impl Freeze for DirEnt
impl RefUnwindSafe for DirEnt
impl Send for DirEnt
impl Sync for DirEnt
impl Unpin for DirEnt
impl UnsafeUnpin for DirEnt
impl UnwindSafe for DirEnt
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