Trait std::str::StrUnstable [-] [+] [src]

pub trait Str {
    fn as_slice(&'a self) -> &'a str;
}

Any string that can be represented as a slice

Required Methods

fn as_slice(&'a self) -> &'a str

Work with self as a slice.

Implementors