Skip to main content

Internable

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".

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§