Skip to main content

Intern

Trait Intern 

Source
pub trait Intern {
    // Required method
    fn intern(&self) -> Arc<str> ;
}

Required Methods§

Source

fn intern(&self) -> Arc<str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Intern for str

Source§

fn intern(&self) -> Arc<str>

Implementors§