pub enum SpawnAt {
Centre,
Ground([f32; 2]),
}Expand description
Where PlaceSpawn puts the spawn.
Variants§
Centre
The per-axis median of the placements’ ground positions: a few placements far from the rest do not move it off the map.
Ground([f32; 2])
This ground position (east, north), metres (crate::frame::ground).
Trait Implementations§
impl Copy for SpawnAt
impl StructuralPartialEq for SpawnAt
Auto Trait Implementations§
impl Forget for SpawnAt
impl Freeze for SpawnAt
impl RefUnwindSafe for SpawnAt
impl Send for SpawnAt
impl Sync for SpawnAt
impl Unpin for SpawnAt
impl UnsafeUnpin for SpawnAt
impl UnwindSafe for SpawnAt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more