[][src]Struct fs_pro::ParsedPathFile

pub struct ParsedPathFile<'a> {
    pub path: &'a str,
    pub parent: &'a str,
    pub name: &'a str,
    pub name_without_extension: &'a str,
    pub extension: &'a str,
}

the result of fs_pro::File::parse_path

Fields

path: &'a str

the path of file

parent: &'a str

the parent of file

name: &'a str

the file name of file (including extension)

name_without_extension: &'a str

the file name of file (excluding extension)

extension: &'a str

the extension of file

Trait Implementations

impl<'a> Clone for ParsedPathFile<'a>[src]

impl<'a> Copy for ParsedPathFile<'a>[src]

impl<'a> Debug for ParsedPathFile<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ParsedPathFile<'a>[src]

impl<'a> Send for ParsedPathFile<'a>[src]

impl<'a> Sync for ParsedPathFile<'a>[src]

impl<'a> Unpin for ParsedPathFile<'a>[src]

impl<'a> UnwindSafe for ParsedPathFile<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,