pub struct PlayerSetup {
pub id: u16,
pub team: Team,
pub spawn: [f32; 3],
}Fields§
§id: u16§team: Team§spawn: [f32; 3]Trait Implementations§
Source§impl Clone for PlayerSetup
impl Clone for PlayerSetup
Source§fn clone(&self) -> PlayerSetup
fn clone(&self) -> PlayerSetup
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 PlayerSetup
impl Debug for PlayerSetup
impl Copy for PlayerSetup
Auto Trait Implementations§
impl Freeze for PlayerSetup
impl RefUnwindSafe for PlayerSetup
impl Send for PlayerSetup
impl Sync for PlayerSetup
impl Unpin for PlayerSetup
impl UnwindSafe for PlayerSetup
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