[−][src]Trait lincoln_common::traits::StringLike
A trait that makes use of string like types (String
and &str
)
easier.
Provided methods
fn clone_string(&self) -> String
Calling into
will consume the object,
calling as_ref
only gives borrowed string.
This combines them together to give a owned string
without consuming the value.
Implementors
impl<T> StringLike for T where
T: Into<String> + AsRef<str>,
[src]
T: Into<String> + AsRef<str>,