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