[][src]Trait amethyst_physics::objects::PhysicsTag

pub trait PhysicsTag: Copy + Debug + Sync + Send + Sized + 'static {
    fn request_resource_removal(&mut self, gc: &mut PhysicsGarbageCollector);
}

This trait must be implemented for each structure that want to use the PhysicsHandle.

Required methods

fn request_resource_removal(&mut self, gc: &mut PhysicsGarbageCollector)

This function is called when the tag is no more owned by any PhysicsHandle.

Loading content...

Implementors

Loading content...