Trait IsColliderContainer3D

Source
pub trait IsColliderContainer3D {
    // Required methods
    fn any_element_collides_with_collider(
        &self,
        other: &dyn HasColliders3D,
    ) -> bool;
    fn any_element_collides_with_bounding(
        &self,
        other: &dyn HasBoundingBox3D,
    ) -> bool;
}
Expand description

Trait for containers with 3D colliders

Required Methods§

Implementations on Foreign Types§

Source§

impl<HB> IsColliderContainer3D for LinkedList<HB>
where HB: HasColliders3D,

Source§

impl<HB> IsColliderContainer3D for VecDeque<HB>
where HB: HasColliders3D,

Source§

impl<HB> IsColliderContainer3D for Vec<HB>
where HB: HasColliders3D,

Implementors§