Trait StringPlus

Source
pub trait StringPlus {
    // Required methods
    fn substring(&self, start: usize, length: usize) -> &str;
    fn at(&self, pos: usize) -> &str;
}

Required Methods§

Source

fn substring(&self, start: usize, length: usize) -> &str

Source

fn at(&self, pos: usize) -> &str

Implementations on Foreign Types§

Source§

impl StringPlus for str

Source§

fn substring(&self, start: usize, length: usize) -> &str

Source§

fn at(&self, pos: usize) -> &str

Implementors§