pub trait StrAdditions {
// Required methods
fn with(&self, append: &str) -> String;
fn pad_left_to(&self, len: usize) -> Cow<'_, str>;
fn to_created_dir(&self) -> Result<Utf8PathBuf>;
}Required Methods§
fn with(&self, append: &str) -> String
fn pad_left_to(&self, len: usize) -> Cow<'_, str>
Sourcefn to_created_dir(&self) -> Result<Utf8PathBuf>
fn to_created_dir(&self) -> Result<Utf8PathBuf>
returns the string as a canonical path (creates the dir if necessary)