Skip to main content

StringExt

Trait StringExt 

Source
pub trait StringExt {
    // Required method
    fn substring(&self, start_index: usize, end_index: usize) -> &str;
}

Required Methods§

Source

fn substring(&self, start_index: usize, end_index: usize) -> &str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl StringExt for str

Source§

fn substring(&self, start_index: usize, end_index: usize) -> &str

Implementors§