pub struct OnAreaClonedEvent {
pub clear_destination_decoratives: bool,
pub clear_destination_entities: bool,
pub clone_decoratives: bool,
pub clone_entities: bool,
pub clone_tiles: bool,
pub destination_area: LuaAny,
pub destination_force: LuaForce,
pub destination_surface: LuaSurface,
pub name: &'static str,
pub source_area: LuaAny,
pub source_surface: LuaSurface,
pub tick: u32,
}Expand description
Called when an area of the map is cloned.
Fields§
§clear_destination_decoratives: bool§clear_destination_entities: bool§clone_decoratives: bool§clone_entities: bool§clone_tiles: bool§destination_area: LuaAny§destination_force: LuaForce§destination_surface: LuaSurface§name: &'static str§source_area: LuaAny§source_surface: LuaSurface§tick: u32Trait Implementations§
Source§impl Clone for OnAreaClonedEvent
impl Clone for OnAreaClonedEvent
Source§fn clone(&self) -> OnAreaClonedEvent
fn clone(&self) -> OnAreaClonedEvent
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 OnAreaClonedEvent
Source§impl Debug for OnAreaClonedEvent
impl Debug for OnAreaClonedEvent
Source§impl Default for OnAreaClonedEvent
impl Default for OnAreaClonedEvent
Source§fn default() -> OnAreaClonedEvent
fn default() -> OnAreaClonedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnAreaClonedEvent
impl PartialEq for OnAreaClonedEvent
impl StructuralPartialEq for OnAreaClonedEvent
Auto Trait Implementations§
impl Freeze for OnAreaClonedEvent
impl RefUnwindSafe for OnAreaClonedEvent
impl Send for OnAreaClonedEvent
impl Sync for OnAreaClonedEvent
impl Unpin for OnAreaClonedEvent
impl UnsafeUnpin for OnAreaClonedEvent
impl UnwindSafe for OnAreaClonedEvent
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