pub struct OnSpacePlatformChangedStateEvent {
pub name: &'static str,
pub old_state: &'static str,
pub platform: LuaSpacePlatform,
pub tick: u32,
}Expand description
Called when a space platform changes state
Fields§
§name: &'static str§old_state: &'static str§platform: LuaSpacePlatform§tick: u32Trait Implementations§
Source§impl Clone for OnSpacePlatformChangedStateEvent
impl Clone for OnSpacePlatformChangedStateEvent
Source§fn clone(&self) -> OnSpacePlatformChangedStateEvent
fn clone(&self) -> OnSpacePlatformChangedStateEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnSpacePlatformChangedStateEvent
Source§impl Default for OnSpacePlatformChangedStateEvent
impl Default for OnSpacePlatformChangedStateEvent
Source§fn default() -> OnSpacePlatformChangedStateEvent
fn default() -> OnSpacePlatformChangedStateEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSpacePlatformChangedStateEvent
Auto Trait Implementations§
impl Freeze for OnSpacePlatformChangedStateEvent
impl RefUnwindSafe for OnSpacePlatformChangedStateEvent
impl Send for OnSpacePlatformChangedStateEvent
impl Sync for OnSpacePlatformChangedStateEvent
impl Unpin for OnSpacePlatformChangedStateEvent
impl UnsafeUnpin for OnSpacePlatformChangedStateEvent
impl UnwindSafe for OnSpacePlatformChangedStateEvent
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