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