pub struct PathElements {
pub name: String,
pub is_directory: bool,
}Fields§
§name: StringThe name of the element at this path
is_directory: boolTells whether the element is a directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathElements
impl RefUnwindSafe for PathElements
impl Send for PathElements
impl Sync for PathElements
impl Unpin for PathElements
impl UnsafeUnpin for PathElements
impl UnwindSafe for PathElements
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