pub struct SpawnPoint {
pub x: f32,
pub y: f32,
pub angle: f32,
pub radius: f32,
}Expand description
A computed spawn point, mirrors the WIT spawn-point record.
Fields§
§x: f32§y: f32§angle: f32§radius: f32Trait Implementations§
Source§impl Clone for SpawnPoint
impl Clone for SpawnPoint
Source§fn clone(&self) -> SpawnPoint
fn clone(&self) -> SpawnPoint
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 SpawnPoint
impl Debug for SpawnPoint
Source§impl Default for SpawnPoint
impl Default for SpawnPoint
Source§fn default() -> SpawnPoint
fn default() -> SpawnPoint
Returns the “default value” for a type. Read more
impl Copy for SpawnPoint
Auto Trait Implementations§
impl Freeze for SpawnPoint
impl RefUnwindSafe for SpawnPoint
impl Send for SpawnPoint
impl Sync for SpawnPoint
impl Unpin for SpawnPoint
impl UnsafeUnpin for SpawnPoint
impl UnwindSafe for SpawnPoint
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