Trait CowStrUtils

Source
pub trait CowStrUtils<'a> {
    // Required methods
    fn split_at(&self, mid: usize) -> (Cow<'a, str>, Cow<'a, str>);
    fn to_os_str(self) -> Cow<'a, OsStr>;
}

Required Methods§

Source

fn split_at(&self, mid: usize) -> (Cow<'a, str>, Cow<'a, str>)

Source

fn to_os_str(self) -> Cow<'a, OsStr>

Implementations on Foreign Types§

Source§

impl<'a> CowStrUtils<'a> for Cow<'a, str>

Source§

fn split_at(&self, mid: usize) -> (Cow<'a, str>, Cow<'a, str>)

Source§

fn to_os_str(self) -> Cow<'a, OsStr>

Implementors§