pub struct OnChunkDeletedEvent {
pub name: &'static str,
pub positions: &'static [LuaAny],
pub surface_index: u32,
pub tick: u32,
}Expand description
Called when one or more chunks are deleted using LuaSurface::delete_chunk.
Fields§
§name: &'static str§positions: &'static [LuaAny]§surface_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnChunkDeletedEvent
impl Clone for OnChunkDeletedEvent
Source§fn clone(&self) -> OnChunkDeletedEvent
fn clone(&self) -> OnChunkDeletedEvent
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 OnChunkDeletedEvent
Source§impl Debug for OnChunkDeletedEvent
impl Debug for OnChunkDeletedEvent
Source§impl Default for OnChunkDeletedEvent
impl Default for OnChunkDeletedEvent
Source§fn default() -> OnChunkDeletedEvent
fn default() -> OnChunkDeletedEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnChunkDeletedEvent
impl PartialEq for OnChunkDeletedEvent
impl StructuralPartialEq for OnChunkDeletedEvent
Auto Trait Implementations§
impl Freeze for OnChunkDeletedEvent
impl RefUnwindSafe for OnChunkDeletedEvent
impl Send for OnChunkDeletedEvent
impl Sync for OnChunkDeletedEvent
impl Unpin for OnChunkDeletedEvent
impl UnsafeUnpin for OnChunkDeletedEvent
impl UnwindSafe for OnChunkDeletedEvent
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