jagua_rs::collision_detection::hazard_helpers

Trait HazardIgnorer

Source
pub trait HazardIgnorer {
    // Required method
    fn is_irrelevant(&self, haz: &HazardEntity) -> bool;
}
Expand description

Trait for structs that can be used to filter out irrelevant hazards. Basically only used in QTHazardVec::strongest().

Required Methods§

Implementations on Foreign Types§

Source§

impl HazardIgnorer for &[HazardEntity]

Implementors§