Trait bootstrap::utils::cache::Internable

source ·
trait Internable:
    Clone
    + Eq
    + Hash
    + 'static {
    // Required method
    fn intern_cache() -> &'static Mutex<TyIntern<Self>>;

    // Provided method
    fn intern(self) -> Interned<Self> { ... }
}

Required Methods§

source

fn intern_cache() -> &'static Mutex<TyIntern<Self>>

Provided Methods§

source

fn intern(self) -> Interned<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Internable for String

source§

fn intern_cache() -> &'static Mutex<TyIntern<Self>>

source§

impl Internable for Vec<String>

source§

fn intern_cache() -> &'static Mutex<TyIntern<Self>>

source§

impl Internable for PathBuf

source§

fn intern_cache() -> &'static Mutex<TyIntern<Self>>

Implementors§