Skip to main content

Interned

Trait Interned 

Source
pub trait Interned<I>:
    Copy
    + Debug
    + Hash
    + Eq
    + PartialEq {
    type Value;

    // Required method
    fn get(self) -> Self::Value;
}

Required Associated Types§

Required Methods§

Source

fn get(self) -> Self::Value

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§