Struct LootTableLoadEvent
pub struct LootTableLoadEvent<'a> {
pub id: &'a str,
pub table: &'a mut Value,
}Expand description
What Hooks::loot_table_load is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§id: &'a str§table: &'a mut ValueAuto Trait Implementations§
impl<'a> !UnwindSafe for LootTableLoadEvent<'a>
impl<'a> Freeze for LootTableLoadEvent<'a>
impl<'a> RefUnwindSafe for LootTableLoadEvent<'a>
impl<'a> Send for LootTableLoadEvent<'a>
impl<'a> Sync for LootTableLoadEvent<'a>
impl<'a> Unpin for LootTableLoadEvent<'a>
impl<'a> UnsafeUnpin for LootTableLoadEvent<'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