pub trait ComponentRefShared<'a>: ComponentRef<'a> { }
Expand description

&T where T is some component type

Used when consistency demands that references to component types, rather than component types themselves, be supplied as a type parameter to a function that cannot operate on unique references.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: Component> ComponentRefShared<'a> for &'a T

Implementors§