Struct LootFunctionEvent
pub struct LootFunctionEvent<'a> {
pub kind: &'a str,
pub data: &'a Value,
pub ctx: &'a LootContext,
pub tags: &'a dyn Tags,
pub stack: &'a mut LootStack,
}Expand description
What Hooks::loot_function is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§kind: &'a str§data: &'a Value§ctx: &'a LootContext§stack: &'a mut LootStackAuto Trait Implementations§
impl<'a> !RefUnwindSafe for LootFunctionEvent<'a>
impl<'a> !Send for LootFunctionEvent<'a>
impl<'a> !Sync for LootFunctionEvent<'a>
impl<'a> !UnwindSafe for LootFunctionEvent<'a>
impl<'a> Freeze for LootFunctionEvent<'a>
impl<'a> Unpin for LootFunctionEvent<'a>
impl<'a> UnsafeUnpin for LootFunctionEvent<'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