Struct BlockJumpFactorEvent
pub struct BlockJumpFactorEvent {
pub state: BlockState,
pub factor: f32,
}Expand description
What BlockPart::block_jump_factor is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§state: BlockState§factor: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockJumpFactorEvent
impl RefUnwindSafe for BlockJumpFactorEvent
impl Send for BlockJumpFactorEvent
impl Sync for BlockJumpFactorEvent
impl Unpin for BlockJumpFactorEvent
impl UnsafeUnpin for BlockJumpFactorEvent
impl UnwindSafe for BlockJumpFactorEvent
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