pub struct Replay {Show 15 fields
pub old_time: u32,
pub world_time: u32,
pub old_world_time: u32,
pub game_speed_id: u32,
pub world_time_delta_seconds: u32,
pub timer: f32,
pub game_speed: f32,
pub temp_pause: bool,
pub random_seed: u32,
pub random_seed_2: u32,
pub rec_player: u16,
pub num_players: u8,
pub instant_build: bool,
pub cheats_enabled: bool,
pub game_mode: u16,
}Fields§
§old_time: u32§world_time: u32§old_world_time: u32§game_speed_id: u32§world_time_delta_seconds: u32§timer: f32§game_speed: f32§temp_pause: bool§random_seed: u32§random_seed_2: u32§rec_player: u16§num_players: u8§instant_build: bool§cheats_enabled: bool§game_mode: u16Trait Implementations§
Source§impl From<&SavegameSummary<'_>> for Replay
impl From<&SavegameSummary<'_>> for Replay
Source§fn from(summary: &SavegameSummary<'_>) -> Replay
fn from(summary: &SavegameSummary<'_>) -> Replay
Converts to this type from the input type.
Source§impl FromWasmAbi for Replay
impl FromWasmAbi for Replay
Source§impl IntoWasmAbi for Replay
impl IntoWasmAbi for Replay
Source§impl LongRefFromWasmAbi for Replay
impl LongRefFromWasmAbi for Replay
Source§impl OptionFromWasmAbi for Replay
impl OptionFromWasmAbi for Replay
Source§impl OptionIntoWasmAbi for Replay
impl OptionIntoWasmAbi for Replay
Source§impl RefFromWasmAbi for Replay
impl RefFromWasmAbi for Replay
Source§impl RefMutFromWasmAbi for Replay
impl RefMutFromWasmAbi for Replay
Source§impl TryFromJsValue for Replay
impl TryFromJsValue for Replay
Source§impl VectorFromWasmAbi for Replay
impl VectorFromWasmAbi for Replay
Source§impl VectorIntoWasmAbi for Replay
impl VectorIntoWasmAbi for Replay
impl SupportsConstructor for Replay
impl SupportsInstanceProperty for Replay
impl SupportsStaticProperty for Replay
Auto Trait Implementations§
impl Freeze for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnwindSafe for Replay
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.