Struct pill_engine::ecs::components::component::ConcreteComponentDestroyer [−][src]
pub struct ConcreteComponentDestroyer<T> {
component_type: PhantomData<T>,
}
Fields
component_type: PhantomData<T>
Implementations
Trait Implementations
impl<T> ComponentDestroyer for ConcreteComponentDestroyer<T> where
T: Component<Storage = ComponentStorage<T>>,
impl<T> ComponentDestroyer for ConcreteComponentDestroyer<T> where
T: Component<Storage = ComponentStorage<T>>,
fn destroy(
&mut self,
engine: &mut Engine,
scene_handle: SceneHandle,
entity_handle: EntityHandle
) -> Result<()>
Auto Trait Implementations
impl<T> RefUnwindSafe for ConcreteComponentDestroyer<T> where
T: RefUnwindSafe,
impl<T> Send for ConcreteComponentDestroyer<T> where
T: Send,
impl<T> Sync for ConcreteComponentDestroyer<T> where
T: Sync,
impl<T> Unpin for ConcreteComponentDestroyer<T> where
T: Unpin,
impl<T> UnwindSafe for ConcreteComponentDestroyer<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more