flux_arc_interner

Trait Internable

Source
pub trait Internable:
    Hash
    + Eq
    + 'static {
    // Required method
    fn storage() -> &'static InternStorage<Self>;
}

Required Methods§

Source

fn storage() -> &'static InternStorage<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> Internable for [T]
where T: SliceInternable,

Source§

fn storage() -> &'static InternStorage<Self>

Implementors§