pub trait AddCollision {
type EntityId: Copy + Eq;
type CB<'a>: EntityBuilder<'a, Entity = Self::EntityId>
where Self: 'a;
// Required method
fn collision<'a>(&'a mut self, collision: Collision<'a>) -> Self::CB<'a>;
}Required Associated Types§
type EntityId: Copy + Eq
type CB<'a>: EntityBuilder<'a, Entity = Self::EntityId> where Self: 'a
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.