Skip to main content

StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required method
    fn trim_end_at_with(&self, at: usize, with: Option<&str>) -> String;
}

Required Methods§

Source

fn trim_end_at_with(&self, at: usize, with: Option<&str>) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: AsRef<str>> StringExt for T