pub struct RespawnEvent {
pub checkpoint_id: u64,
pub game_time: f64,
pub respawn_index: u32,
}Expand description
A single respawn event recorded by RespawnSystem.
Fields§
§checkpoint_id: u64§game_time: f64§respawn_index: u32Trait Implementations§
Source§impl Clone for RespawnEvent
impl Clone for RespawnEvent
Source§fn clone(&self) -> RespawnEvent
fn clone(&self) -> RespawnEvent
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 moreAuto Trait Implementations§
impl Freeze for RespawnEvent
impl RefUnwindSafe for RespawnEvent
impl Send for RespawnEvent
impl Sync for RespawnEvent
impl Unpin for RespawnEvent
impl UnsafeUnpin for RespawnEvent
impl UnwindSafe for RespawnEvent
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