Trait uu_dircolors::StrUtils[][src]

pub trait StrUtils {
    fn purify(&self) -> &Self;
fn split_two(&self) -> (&str, &str);
fn fnmatch(&self, pattern: &str) -> bool; }

Required methods

fn purify(&self) -> &Self[src]

Remove comments and trim whitespace

fn split_two(&self) -> (&str, &str)[src]

Like split_whitespace() but only produce 2 components

fn fnmatch(&self, pattern: &str) -> bool[src]

Loading content...

Implementations on Foreign Types

impl StrUtils for str[src]

Loading content...

Implementors

Loading content...