pub struct OnPlayerAltSelectedAreaEvent {
pub area: LuaAny,
pub entities: &'static [LuaEntity],
pub item: &'static str,
pub name: &'static str,
pub player_index: u32,
pub quality: &'static str,
pub surface: LuaSurface,
pub tick: u32,
pub tiles: &'static [LuaTile],
}Expand description
Called after a player alt-selects an area with a selection-tool item.
Fields§
§area: LuaAny§entities: &'static [LuaEntity]§item: &'static str§name: &'static str§player_index: u32§quality: &'static str§surface: LuaSurface§tick: u32§tiles: &'static [LuaTile]Trait Implementations§
Source§impl Clone for OnPlayerAltSelectedAreaEvent
impl Clone for OnPlayerAltSelectedAreaEvent
Source§fn clone(&self) -> OnPlayerAltSelectedAreaEvent
fn clone(&self) -> OnPlayerAltSelectedAreaEvent
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 OnPlayerAltSelectedAreaEvent
Source§impl Debug for OnPlayerAltSelectedAreaEvent
impl Debug for OnPlayerAltSelectedAreaEvent
Source§impl Default for OnPlayerAltSelectedAreaEvent
impl Default for OnPlayerAltSelectedAreaEvent
Source§fn default() -> OnPlayerAltSelectedAreaEvent
fn default() -> OnPlayerAltSelectedAreaEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerAltSelectedAreaEvent
Auto Trait Implementations§
impl Freeze for OnPlayerAltSelectedAreaEvent
impl RefUnwindSafe for OnPlayerAltSelectedAreaEvent
impl Send for OnPlayerAltSelectedAreaEvent
impl Sync for OnPlayerAltSelectedAreaEvent
impl Unpin for OnPlayerAltSelectedAreaEvent
impl UnsafeUnpin for OnPlayerAltSelectedAreaEvent
impl UnwindSafe for OnPlayerAltSelectedAreaEvent
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