FromInner

Trait FromInner 

Source
pub trait FromInner {
    type Inner: 'static + Clone;

    // Required method
    fn from_inner(inner: Self::Inner) -> Self;
}

Required Associated Types§

Source

type Inner: 'static + Clone

Required Methods§

Source

fn from_inner(inner: Self::Inner) -> 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§