Skip to main content

Internable

Trait Internable 

Source
pub trait Internable: Sized {
    type Input<'a>;

    // Required method
    fn intern(input: Self::Input<'_>) -> Self;
}

Required Associated Types§

Source

type Input<'a>

Required Methods§

Source

fn intern(input: Self::Input<'_>) -> 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.

Implementors§