Struct BlockDispenseArmorEvent
pub struct BlockDispenseArmorEvent<'a> {
pub dimension: &'a str,
pub pos: [i32; 3],
pub item: &'a str,
pub target: &'a str,
}Expand description
What Hooks::block_dispense_armor is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§pos: [i32; 3]§item: &'a str§target: &'a strAuto Trait Implementations§
impl<'a> Freeze for BlockDispenseArmorEvent<'a>
impl<'a> RefUnwindSafe for BlockDispenseArmorEvent<'a>
impl<'a> Send for BlockDispenseArmorEvent<'a>
impl<'a> Sync for BlockDispenseArmorEvent<'a>
impl<'a> Unpin for BlockDispenseArmorEvent<'a>
impl<'a> UnsafeUnpin for BlockDispenseArmorEvent<'a>
impl<'a> UnwindSafe for BlockDispenseArmorEvent<'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