Skip to main content

collisions

Function collisions 

Source
pub fn collisions(objects: &[Object]) -> Vec<Collision>
Expand description

Every route collision in an index. Empty is the healthy answer, and the only one the gate accepts: a route that resolves to one of two objects is not a route.

assert!(collisions(&[]).is_empty());