Struct ChunkLoadEvent
pub struct ChunkLoadEvent<'a> {
pub dimension: &'a str,
pub chunk: [i32; 2],
pub new: bool,
}Expand description
What Hooks::chunk_load is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§chunk: [i32; 2]§new: boolAuto Trait Implementations§
impl<'a> Freeze for ChunkLoadEvent<'a>
impl<'a> RefUnwindSafe for ChunkLoadEvent<'a>
impl<'a> Send for ChunkLoadEvent<'a>
impl<'a> Sync for ChunkLoadEvent<'a>
impl<'a> Unpin for ChunkLoadEvent<'a>
impl<'a> UnsafeUnpin for ChunkLoadEvent<'a>
impl<'a> UnwindSafe for ChunkLoadEvent<'a>
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