pub trait AreaLike { // Required methods fn centroid(&self) -> Position; fn requires_crouch(&self) -> bool; fn area_id(&self) -> u32; }