pub trait StrExt {
    // Required methods
    fn to_snake_case(&self) -> String;
    fn lines_with_nl(&self) -> LinesWithNl<'_>;
    fn detect_indent(&self) -> Indent;
    fn compile_interpolation(&self) -> CompiledInterpolation<'_>;
    fn trim_start_idx(&self) -> usize;
    fn trim_end_idx(&self) -> usize;
    fn localname(&self) -> &str;
    fn namespace(&self) -> &str;
}

Required Methods§

source

fn to_snake_case(&self) -> String

source

fn lines_with_nl(&self) -> LinesWithNl<'_>

source

fn detect_indent(&self) -> Indent

source

fn compile_interpolation(&self) -> CompiledInterpolation<'_>

source

fn trim_start_idx(&self) -> usize

source

fn trim_end_idx(&self) -> usize

source

fn localname(&self) -> &str

source

fn namespace(&self) -> &str

Implementations on Foreign Types§

source§

impl StrExt for str

Implementors§