[−][src]Trait nano_ecs::Get
Gets a component type T
from a raw pointer of Component
.
Implemented for &mut T
and &T
.
Required methods
unsafe fn get(self) -> Option<T>
Gets component type.
This is an unsafe method because the lifetime of the return value is only valid for the scope.