Skip to main content

ComponentRef

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§