Struct EntitiesUnloadEvent
pub struct EntitiesUnloadEvent<'a> {
pub dimension: &'a str,
pub chunk: [i32; 2],
pub count: usize,
}Expand description
What Hooks::entities_unload 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]§count: usizeAuto Trait Implementations§
impl<'a> Freeze for EntitiesUnloadEvent<'a>
impl<'a> RefUnwindSafe for EntitiesUnloadEvent<'a>
impl<'a> Send for EntitiesUnloadEvent<'a>
impl<'a> Sync for EntitiesUnloadEvent<'a>
impl<'a> Unpin for EntitiesUnloadEvent<'a>
impl<'a> UnsafeUnpin for EntitiesUnloadEvent<'a>
impl<'a> UnwindSafe for EntitiesUnloadEvent<'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