Skip to main content

ToInternedString

Trait ToInternedString 

Source
pub trait ToInternedString {
    // Required method
    fn to_interned_string(&self, interner: &Interner) -> String;
}
Expand description

Converts a given element to a string using an interner.

Required Methods§

Source

fn to_interned_string(&self, interner: &Interner) -> String

Converts a given element to a string using an interner.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§