Struct BlockSpeedFactorEvent
pub struct BlockSpeedFactorEvent {
pub state: BlockState,
pub factor: f32,
}Expand description
What BlockPart::block_speed_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 BlockSpeedFactorEvent
impl RefUnwindSafe for BlockSpeedFactorEvent
impl Send for BlockSpeedFactorEvent
impl Sync for BlockSpeedFactorEvent
impl Unpin for BlockSpeedFactorEvent
impl UnsafeUnpin for BlockSpeedFactorEvent
impl UnwindSafe for BlockSpeedFactorEvent
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