pub struct OnPlayerDeconstructedAreaEvent {
pub alt: bool,
pub area: LuaAny,
pub item: &'static str,
pub name: &'static str,
pub player_index: u32,
pub quality: &'static str,
pub record: LuaRecord,
pub stack: LuaItemStack,
pub surface: LuaSurface,
pub tick: u32,
}Expand description
Called when a player selects an area with a deconstruction planner.
Fields§
§alt: bool§area: LuaAny§item: &'static str§name: &'static str§player_index: u32§quality: &'static str§record: LuaRecord§stack: LuaItemStack§surface: LuaSurface§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerDeconstructedAreaEvent
impl Clone for OnPlayerDeconstructedAreaEvent
Source§fn clone(&self) -> OnPlayerDeconstructedAreaEvent
fn clone(&self) -> OnPlayerDeconstructedAreaEvent
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 OnPlayerDeconstructedAreaEvent
Source§impl Default for OnPlayerDeconstructedAreaEvent
impl Default for OnPlayerDeconstructedAreaEvent
Source§fn default() -> OnPlayerDeconstructedAreaEvent
fn default() -> OnPlayerDeconstructedAreaEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerDeconstructedAreaEvent
Auto Trait Implementations§
impl Freeze for OnPlayerDeconstructedAreaEvent
impl RefUnwindSafe for OnPlayerDeconstructedAreaEvent
impl Send for OnPlayerDeconstructedAreaEvent
impl Sync for OnPlayerDeconstructedAreaEvent
impl Unpin for OnPlayerDeconstructedAreaEvent
impl UnsafeUnpin for OnPlayerDeconstructedAreaEvent
impl UnwindSafe for OnPlayerDeconstructedAreaEvent
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