Struct UseAnimationEvent
pub struct UseAnimationEvent<'a> {
pub stack: &'a ItemStack,
pub animation: &'a mut UseAnimation,
}Expand description
What ItemPart::use_animation is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§stack: &'a ItemStack§animation: &'a mut UseAnimationAuto Trait Implementations§
impl<'a> !UnwindSafe for UseAnimationEvent<'a>
impl<'a> Freeze for UseAnimationEvent<'a>
impl<'a> RefUnwindSafe for UseAnimationEvent<'a>
impl<'a> Send for UseAnimationEvent<'a>
impl<'a> Sync for UseAnimationEvent<'a>
impl<'a> Unpin for UseAnimationEvent<'a>
impl<'a> UnsafeUnpin for UseAnimationEvent<'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