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

Unwrap to an owned String.

Borrow the contents as a slice.

Implementations on Foreign Types

impl StringWrapper for String
[src]

[src]

[src]

impl StringWrapper for Box<String>
[src]

[src]

[src]

impl StringWrapper for Rc<String>
[src]

[src]

[src]

impl StringWrapper for Arc<String>
[src]

[src]

[src]

Implementors