pub struct OnRobotExplodedCliffEvent {
pub item: LuaItemPrototype,
pub name: &'static str,
pub quality: LuaQualityPrototype,
pub robot: LuaEntity,
pub tick: u32,
}Expand description
Called directly after a robot explodes cliffs.
Fields§
§item: LuaItemPrototype§name: &'static str§quality: LuaQualityPrototype§robot: LuaEntity§tick: u32Trait Implementations§
Source§impl Clone for OnRobotExplodedCliffEvent
impl Clone for OnRobotExplodedCliffEvent
Source§fn clone(&self) -> OnRobotExplodedCliffEvent
fn clone(&self) -> OnRobotExplodedCliffEvent
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 OnRobotExplodedCliffEvent
Source§impl Debug for OnRobotExplodedCliffEvent
impl Debug for OnRobotExplodedCliffEvent
Source§impl Default for OnRobotExplodedCliffEvent
impl Default for OnRobotExplodedCliffEvent
Source§fn default() -> OnRobotExplodedCliffEvent
fn default() -> OnRobotExplodedCliffEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnRobotExplodedCliffEvent
Auto Trait Implementations§
impl Freeze for OnRobotExplodedCliffEvent
impl RefUnwindSafe for OnRobotExplodedCliffEvent
impl Send for OnRobotExplodedCliffEvent
impl Sync for OnRobotExplodedCliffEvent
impl Unpin for OnRobotExplodedCliffEvent
impl UnsafeUnpin for OnRobotExplodedCliffEvent
impl UnwindSafe for OnRobotExplodedCliffEvent
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