opencv_binding_generator

Trait StrExt

Source
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§