[][src]Trait osstrtools::OsStrTools

pub trait OsStrTools {
    fn split(&self, pat: &OsStr) -> Vec<OsString>;
fn replace(&self, from: &OsStr, to: &OsStr) -> OsString;
fn trim_last_space(&self) -> OsString;
fn contains_osstr(&self, pat: &OsStr) -> bool;
fn position(&self, pat: &OsStr) -> Option<usize>;
fn splice_quoted(&self, from: &OsStr, to: Vec<OsString>) -> Vec<OsString>;
fn splice_with(&self, from: &OsStr, to: Vec<OsString>) -> Vec<OsString>;
fn quote(&self) -> OsString; }

Required methods

fn split(&self, pat: &OsStr) -> Vec<OsString>

fn replace(&self, from: &OsStr, to: &OsStr) -> OsString

fn trim_last_space(&self) -> OsString

fn contains_osstr(&self, pat: &OsStr) -> bool

fn position(&self, pat: &OsStr) -> Option<usize>

fn splice_quoted(&self, from: &OsStr, to: Vec<OsString>) -> Vec<OsString>

fn splice_with(&self, from: &OsStr, to: Vec<OsString>) -> Vec<OsString>

fn quote(&self) -> OsString

Loading content...

Implementations on Foreign Types

impl OsStrTools for OsStr[src]

Loading content...

Implementors

Loading content...