Trait conch_runtime::env::StringWrapper [−][src]
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.
Implementations on Foreign Types
impl StringWrapper for String[src]
impl StringWrapper for Stringimpl StringWrapper for Box<String>[src]
impl StringWrapper for Box<String>impl StringWrapper for Rc<String>[src]
impl StringWrapper for Rc<String>impl StringWrapper for Arc<String>[src]
impl StringWrapper for Arc<String>