pub enum ChunkEvent {
Loaded(ChunkCoord),
Unloaded(ChunkCoord),
LodChanged {
coord: ChunkCoord,
old_lod: u8,
new_lod: u8,
},
GenerationStarted(ChunkCoord),
GenerationFailed {
coord: ChunkCoord,
reason: String,
},
}Expand description
Events emitted by the streaming system.
Variants§
Trait Implementations§
Source§impl Clone for ChunkEvent
impl Clone for ChunkEvent
Source§fn clone(&self) -> ChunkEvent
fn clone(&self) -> ChunkEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChunkEvent
impl RefUnwindSafe for ChunkEvent
impl Send for ChunkEvent
impl Sync for ChunkEvent
impl Unpin for ChunkEvent
impl UnsafeUnpin for ChunkEvent
impl UnwindSafe for ChunkEvent
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