Trait hecs::ComponentRef

source ·
pub trait ComponentRef<'a> { }
Expand description

&T or &mut T where T is some component type

The interface of this trait is a private implementation detail.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

impl<'a, T: Component> ComponentRef<'a> for &'a mut T

Implementors§