pub trait PhysicsLayer: Sized { fn to_bits(&self) -> u32; fn all_bits() -> u32; }
Describes a collision layer
It is recommended to implement it using the derive macro.