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