pub struct Spawn {
pub name: String,
pub position: [f32; 3],
pub yaw: f32,
}Expand description
An arrival point.
Fields§
§name: StringAnchor name (the #place in a Locator); the first spawn is the default.
position: [f32; 3]§yaw: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spawn
impl<'de> Deserialize<'de> for Spawn
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
Auto Trait Implementations§
impl Freeze for Spawn
impl RefUnwindSafe for Spawn
impl Send for Spawn
impl Sync for Spawn
impl Unpin for Spawn
impl UnsafeUnpin for Spawn
impl UnwindSafe for Spawn
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