pub struct OnChunkChartedEvent {
pub area: BoundingBox,
pub force: LuaForce,
pub name: &'static str,
pub position: ChunkPosition,
pub surface_index: u32,
pub tick: u32,
}Expand description
Called when a chunk is charted or re-charted.
Fields§
§area: BoundingBox§force: LuaForce§name: &'static str§position: ChunkPosition§surface_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnChunkChartedEvent
impl Clone for OnChunkChartedEvent
Source§fn clone(&self) -> OnChunkChartedEvent
fn clone(&self) -> OnChunkChartedEvent
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 OnChunkChartedEvent
Source§impl Debug for OnChunkChartedEvent
impl Debug for OnChunkChartedEvent
Source§impl Default for OnChunkChartedEvent
impl Default for OnChunkChartedEvent
Source§fn default() -> OnChunkChartedEvent
fn default() -> OnChunkChartedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnChunkChartedEvent
impl PartialEq for OnChunkChartedEvent
impl StructuralPartialEq for OnChunkChartedEvent
Auto Trait Implementations§
impl Freeze for OnChunkChartedEvent
impl RefUnwindSafe for OnChunkChartedEvent
impl Send for OnChunkChartedEvent
impl Sync for OnChunkChartedEvent
impl Unpin for OnChunkChartedEvent
impl UnsafeUnpin for OnChunkChartedEvent
impl UnwindSafe for OnChunkChartedEvent
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