Struct MendingRepairEvent
pub struct MendingRepairEvent<'a> {
pub player: u128,
pub stack: &'a ItemStack,
pub experience: u32,
pub repair: u32,
}Expand description
What Hooks::mending_repair is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§stack: &'a ItemStack§experience: u32§repair: u32Auto Trait Implementations§
impl<'a> Freeze for MendingRepairEvent<'a>
impl<'a> RefUnwindSafe for MendingRepairEvent<'a>
impl<'a> Send for MendingRepairEvent<'a>
impl<'a> Sync for MendingRepairEvent<'a>
impl<'a> Unpin for MendingRepairEvent<'a>
impl<'a> UnsafeUnpin for MendingRepairEvent<'a>
impl<'a> UnwindSafe for MendingRepairEvent<'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