[][src]Trait conch_runtime::env::StringWrapper

pub trait StringWrapper: Borrow<String> + Clone + Eq + From<String> + Hash {
    fn into_owned(self) -> String;
fn as_str(&self) -> &str; }

An interface for any Cloneable wrapper around a String.

Required methods

fn into_owned(self) -> String

Unwrap to an owned String.

fn as_str(&self) -> &str

Borrow the contents as a slice.

Loading content...

Implementations on Foreign Types

impl StringWrapper for String[src]

impl StringWrapper for Box<String>[src]

impl StringWrapper for Rc<String>[src]

impl StringWrapper for Arc<String>[src]

Loading content...

Implementors

Loading content...