pub struct OnPlayerPipetteEvent {
pub item: LuaItemPrototype,
pub name: &'static str,
pub player_index: u32,
pub quality: LuaQualityPrototype,
pub tick: u32,
pub used_cheat_mode: bool,
}Expand description
Called when a player invokes the “smart pipette” over an entity.
Fields§
§item: LuaItemPrototype§name: &'static str§player_index: u32§quality: LuaQualityPrototype§tick: u32§used_cheat_mode: boolTrait Implementations§
Source§impl Clone for OnPlayerPipetteEvent
impl Clone for OnPlayerPipetteEvent
Source§fn clone(&self) -> OnPlayerPipetteEvent
fn clone(&self) -> OnPlayerPipetteEvent
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 OnPlayerPipetteEvent
Source§impl Debug for OnPlayerPipetteEvent
impl Debug for OnPlayerPipetteEvent
Source§impl Default for OnPlayerPipetteEvent
impl Default for OnPlayerPipetteEvent
Source§fn default() -> OnPlayerPipetteEvent
fn default() -> OnPlayerPipetteEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnPlayerPipetteEvent
impl PartialEq for OnPlayerPipetteEvent
impl StructuralPartialEq for OnPlayerPipetteEvent
Auto Trait Implementations§
impl Freeze for OnPlayerPipetteEvent
impl RefUnwindSafe for OnPlayerPipetteEvent
impl Send for OnPlayerPipetteEvent
impl Sync for OnPlayerPipetteEvent
impl Unpin for OnPlayerPipetteEvent
impl UnsafeUnpin for OnPlayerPipetteEvent
impl UnwindSafe for OnPlayerPipetteEvent
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