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