Struct ItemModelPropertyEvent
pub struct ItemModelPropertyEvent<'a> {
pub property: &'a str,
pub stack: &'a ItemStack,
pub bundle_selected: i32,
pub value: bool,
}Expand description
What Hooks::item_model_property is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§property: &'a str§stack: &'a ItemStack§bundle_selected: i32§value: boolAuto Trait Implementations§
impl<'a> Freeze for ItemModelPropertyEvent<'a>
impl<'a> RefUnwindSafe for ItemModelPropertyEvent<'a>
impl<'a> Send for ItemModelPropertyEvent<'a>
impl<'a> Sync for ItemModelPropertyEvent<'a>
impl<'a> Unpin for ItemModelPropertyEvent<'a>
impl<'a> UnsafeUnpin for ItemModelPropertyEvent<'a>
impl<'a> UnwindSafe for ItemModelPropertyEvent<'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