Function internship::intern
[−]
[src]
pub fn intern<T: ?Sized>(value: &T) -> Intern<T> where
T: AllowIntern,
&'a T: Into<Rc<T>>,
Create new Intern<T> from given value, if matching cache is not found.
This function is a thin wrapper over Intern::new() for convenience.