Skip to main content

Module hazards

Module hazards 

Source
Expand description

Everything Hazard related

Modules§

collector
Everything related to hazard collectors
filter
Everything related to hazard filters

Structs§

HazKey
Key to identify hazards inside the CDE.
Hazard
Any spatial constraint affecting the feasibility of a placement of an Item. The entity type E defines what can induce a hazard; see HazardEntity. Cloning is cheap: the shape and the geometry derived from it are shared.
PItemKey
Key of a placed item, identifying it in BasicHazardEntity::PlacedItem.

Enums§

BasicHazardEntity
Entity inducing a Hazard in this crate’s layouts. All entities are uniquely identified.

Traits§

HazardEntity
Entity inducing a Hazard: everything the collision engine needs to know about it. Each entity registered in a CDEngine must be unique.