ElementType

Trait ElementType 

Source
pub trait ElementType {
    type Props<'a>
       where Self: 'a;
}

Required Associated Types§

Source

type Props<'a> where Self: 'a

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§

Source§

impl<C> ElementType for C
where C: Component,

Source§

type Props<'a> = <C as Component>::Props<'a>