Struct box_format::path::BoxPath[][src]

#[repr(transparent)]
pub struct BoxPath(_);

Implementations

impl BoxPath[src]

pub fn new<P: AsRef<Path>>(path: P) -> Result<BoxPath, IntoBoxPathError>[src]

pub fn to_path_buf(&self) -> PathBuf[src]

pub fn parent(&self) -> Option<BoxPath>[src]

pub fn filename(&self) -> String[src]

pub fn depth(&self) -> usize[src]

pub fn starts_with(&self, other: &BoxPath) -> bool[src]

pub fn join<P: AsRef<Path>>(&self, tail: P) -> Result<BoxPath, IntoBoxPathError>[src]

pub fn iter(&self) -> Split<'_, &str>[src]

Trait Implementations

impl AsRef<[u8]> for BoxPath[src]

impl Clone for BoxPath[src]

impl Debug for BoxPath[src]

impl Display for BoxPath[src]

impl Eq for BoxPath[src]

impl Hash for BoxPath[src]

impl Ord for BoxPath[src]

impl PartialEq<BoxPath> for BoxPath[src]

impl PartialOrd<BoxPath> for BoxPath[src]

impl StructuralEq for BoxPath[src]

impl StructuralPartialEq for BoxPath[src]

Auto Trait Implementations

impl RefUnwindSafe for BoxPath

impl Send for BoxPath

impl Sync for BoxPath

impl Unpin for BoxPath

impl UnwindSafe for BoxPath

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> Instrument 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> ToString for T where
    T: Display + ?Sized
[src]

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.