pub enum RespawnLocation {
NearestSafeZone,
Station(u64),
Coordinate(f32, f32),
}Expand description
Definitive respawn target semantics.
Variants§
NearestSafeZone
The server calculates dynamically the Nearest Safe Zone.
Station(u64)
Respawn docked at a specific station entity.
Coordinate(f32, f32)
Respawn at arbitrary x, y coordinates (admin/debug).
Trait Implementations§
Source§impl Clone for RespawnLocation
impl Clone for RespawnLocation
Source§fn clone(&self) -> RespawnLocation
fn clone(&self) -> RespawnLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RespawnLocation
impl Debug for RespawnLocation
Source§impl<'de> Deserialize<'de> for RespawnLocation
impl<'de> Deserialize<'de> for RespawnLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RespawnLocation
impl PartialEq for RespawnLocation
Source§impl Serialize for RespawnLocation
impl Serialize for RespawnLocation
impl Copy for RespawnLocation
impl StructuralPartialEq for RespawnLocation
Auto Trait Implementations§
impl Freeze for RespawnLocation
impl RefUnwindSafe for RespawnLocation
impl Send for RespawnLocation
impl Sync for RespawnLocation
impl Unpin for RespawnLocation
impl UnsafeUnpin for RespawnLocation
impl UnwindSafe for RespawnLocation
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