pub struct OnEntityLogisticSlotChangedEvent {
pub entity: LuaEntity,
pub name: &'static str,
pub player_index: u32,
pub section: LuaLogisticSection,
pub slot_index: u32,
pub tick: u32,
}Expand description
Called when one of an entity’s logistic slots changes.
Fields§
§entity: LuaEntity§name: &'static str§player_index: u32§section: LuaLogisticSection§slot_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnEntityLogisticSlotChangedEvent
impl Clone for OnEntityLogisticSlotChangedEvent
Source§fn clone(&self) -> OnEntityLogisticSlotChangedEvent
fn clone(&self) -> OnEntityLogisticSlotChangedEvent
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 OnEntityLogisticSlotChangedEvent
Source§impl Default for OnEntityLogisticSlotChangedEvent
impl Default for OnEntityLogisticSlotChangedEvent
Source§fn default() -> OnEntityLogisticSlotChangedEvent
fn default() -> OnEntityLogisticSlotChangedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnEntityLogisticSlotChangedEvent
Auto Trait Implementations§
impl Freeze for OnEntityLogisticSlotChangedEvent
impl RefUnwindSafe for OnEntityLogisticSlotChangedEvent
impl Send for OnEntityLogisticSlotChangedEvent
impl Sync for OnEntityLogisticSlotChangedEvent
impl Unpin for OnEntityLogisticSlotChangedEvent
impl UnsafeUnpin for OnEntityLogisticSlotChangedEvent
impl UnwindSafe for OnEntityLogisticSlotChangedEvent
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