pub struct ParsedPathDir<'a> {
pub path: &'a str,
pub parent: &'a str,
pub name: &'a str,
}Expand description
the result of fs_pro::Dir::parse_path
Fields§
§path: &'a strthe path of directory
parent: &'a strthe parent of directory
name: &'a strthe name of directory
Trait Implementations§
Source§impl<'a> Clone for ParsedPathDir<'a>
impl<'a> Clone for ParsedPathDir<'a>
Source§fn clone(&self) -> ParsedPathDir<'a>
fn clone(&self) -> ParsedPathDir<'a>
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 moreSource§impl<'a> Debug for ParsedPathDir<'a>
impl<'a> Debug for ParsedPathDir<'a>
impl<'a> Copy for ParsedPathDir<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedPathDir<'a>
impl<'a> RefUnwindSafe for ParsedPathDir<'a>
impl<'a> Send for ParsedPathDir<'a>
impl<'a> Sync for ParsedPathDir<'a>
impl<'a> Unpin for ParsedPathDir<'a>
impl<'a> UnwindSafe for ParsedPathDir<'a>
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