Trait af_core::path::PathLike[][src]

pub trait PathLike<'a>: Sized {
    fn to_cow(self) -> Cow<'a, str>;

    fn to_owned(self) -> String { ... }
}

A trait for values that can be used in path operations.

Required methods

fn to_cow(self) -> Cow<'a, str>[src]

Converts this value into a Cow<str>.

Loading content...

Provided methods

fn to_owned(self) -> String[src]

Converts this value into a String.

Loading content...

Implementations on Foreign Types

impl<'a> PathLike<'a> for &'a str[src]

impl<'a> PathLike<'a> for &'a &mut str[src]

impl<'a> PathLike<'a> for String[src]

impl<'a> PathLike<'a> for &'a String[src]

impl<'a> PathLike<'a> for &'a &mut String[src]

impl<'a> PathLike<'a> for Cow<'a, str>[src]

impl<'a> PathLike<'a> for &'a Cow<'_, str>[src]

impl<'a> PathLike<'a> for &'a &mut Cow<'_, str>[src]

impl<'a> PathLike<'a> for &'a PathBuf[src]

Loading content...

Implementors

Loading content...