# Trait libmedium::proxy::StringUtils

source ·

    pub trait StringUtils {
        fn substring(&self, start: usize, len: usize) -> &str;
        fn slice(&self, range: impl RangeBounds<usize>) -> &str;
    }

## Required Methods§

source

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

source

#### fn slice(&self, range: impl RangeBounds<usize>) -> &str

## Implementations on Foreign Types§

source §

### impl StringUtils for str

source §

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

source §

#### fn slice(&self, range: impl RangeBounds<usize>) -> &str

## Implementors§