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