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