Struct LootDropsEvent
pub struct LootDropsEvent<'a> {
pub context: &'a LootDrops<'a>,
pub drops: &'a mut Vec<ItemStack>,
}Expand description
What Hooks::loot_drops is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§context: &'a LootDrops<'a>§drops: &'a mut Vec<ItemStack>Auto Trait Implementations§
impl<'a> !UnwindSafe for LootDropsEvent<'a>
impl<'a> Freeze for LootDropsEvent<'a>
impl<'a> RefUnwindSafe for LootDropsEvent<'a>
impl<'a> Send for LootDropsEvent<'a>
impl<'a> Sync for LootDropsEvent<'a>
impl<'a> Unpin for LootDropsEvent<'a>
impl<'a> UnsafeUnpin for LootDropsEvent<'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