pub struct OnRobotBuiltEntityEvent {
pub entity: LuaEntity,
pub name: &'static str,
pub robot: LuaEntity,
pub stack: LuaItemStack,
pub tags: LuaAny,
pub tick: u32,
}Expand description
Called when a construction robot builds an entity.
Fields§
§entity: LuaEntity§name: &'static str§robot: LuaEntity§stack: LuaItemStack§tick: u32Trait Implementations§
Source§impl Clone for OnRobotBuiltEntityEvent
impl Clone for OnRobotBuiltEntityEvent
Source§fn clone(&self) -> OnRobotBuiltEntityEvent
fn clone(&self) -> OnRobotBuiltEntityEvent
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 OnRobotBuiltEntityEvent
Source§impl Debug for OnRobotBuiltEntityEvent
impl Debug for OnRobotBuiltEntityEvent
Source§impl Default for OnRobotBuiltEntityEvent
impl Default for OnRobotBuiltEntityEvent
Source§fn default() -> OnRobotBuiltEntityEvent
fn default() -> OnRobotBuiltEntityEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnRobotBuiltEntityEvent
impl PartialEq for OnRobotBuiltEntityEvent
impl StructuralPartialEq for OnRobotBuiltEntityEvent
Auto Trait Implementations§
impl Freeze for OnRobotBuiltEntityEvent
impl RefUnwindSafe for OnRobotBuiltEntityEvent
impl Send for OnRobotBuiltEntityEvent
impl Sync for OnRobotBuiltEntityEvent
impl Unpin for OnRobotBuiltEntityEvent
impl UnsafeUnpin for OnRobotBuiltEntityEvent
impl UnwindSafe for OnRobotBuiltEntityEvent
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