Struct MovementInputEvent
pub struct MovementInputEvent {
pub forward: f32,
pub strafe: f32,
pub jump: bool,
pub sneak: bool,
}Expand description
What Hooks::movement_input is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§forward: f32§strafe: f32§jump: bool§sneak: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for MovementInputEvent
impl RefUnwindSafe for MovementInputEvent
impl Send for MovementInputEvent
impl Sync for MovementInputEvent
impl Unpin for MovementInputEvent
impl UnsafeUnpin for MovementInputEvent
impl UnwindSafe for MovementInputEvent
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