Struct BounceOnEvent
pub struct BounceOnEvent<'a> {
pub dimension: &'a str,
pub entity: i32,
pub kind: &'a str,
pub state: BlockState,
pub pos: BlockPos,
pub fall_distance: f64,
pub movement: &'a mut [f64; 3],
}Expand description
What BlockPart::bounce_on is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§entity: i32§kind: &'a str§state: BlockState§pos: BlockPos§fall_distance: f64§movement: &'a mut [f64; 3]Auto Trait Implementations§
impl<'a> !UnwindSafe for BounceOnEvent<'a>
impl<'a> Freeze for BounceOnEvent<'a>
impl<'a> RefUnwindSafe for BounceOnEvent<'a>
impl<'a> Send for BounceOnEvent<'a>
impl<'a> Sync for BounceOnEvent<'a>
impl<'a> Unpin for BounceOnEvent<'a>
impl<'a> UnsafeUnpin for BounceOnEvent<'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