Trait StringBuffer

Source
pub trait StringBuffer: Send + 'static {
    // Required method
    fn as_str(&self) -> &str;
}

Required Methods§

Source

fn as_str(&self) -> &str

Implementations on Foreign Types§

Source§

impl StringBuffer for &'static str

Source§

fn as_str(&self) -> &str

Source§

impl StringBuffer for Cow<'static, str>

Source§

fn as_str(&self) -> &str

Source§

impl StringBuffer for Box<str>

Source§

fn as_str(&self) -> &str

Source§

impl StringBuffer for String

Source§

fn as_str(&self) -> &str

Implementors§