pub struct AsteroidCrackedEvent {
pub body: String,
}
Expand description
Fired whenever the player cracks open an asteroid.
Fields§
§body: String
The body of the ring where the player cracked the asteroid.
Trait Implementations§
Source§impl Clone for AsteroidCrackedEvent
impl Clone for AsteroidCrackedEvent
Source§fn clone(&self) -> AsteroidCrackedEvent
fn clone(&self) -> AsteroidCrackedEvent
Returns a copy 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 AsteroidCrackedEvent
impl Debug for AsteroidCrackedEvent
Source§impl<'de> Deserialize<'de> for AsteroidCrackedEvent
impl<'de> Deserialize<'de> for AsteroidCrackedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AsteroidCrackedEvent
impl PartialEq for AsteroidCrackedEvent
Source§impl Serialize for AsteroidCrackedEvent
impl Serialize for AsteroidCrackedEvent
impl StructuralPartialEq for AsteroidCrackedEvent
Auto Trait Implementations§
impl Freeze for AsteroidCrackedEvent
impl RefUnwindSafe for AsteroidCrackedEvent
impl Send for AsteroidCrackedEvent
impl Sync for AsteroidCrackedEvent
impl Unpin for AsteroidCrackedEvent
impl UnwindSafe for AsteroidCrackedEvent
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