pub struct MoveStep {
pub sprint: Option<EntityAction>,
pub sneak: Option<EntityAction>,
pub packet: MovePacket,
}Expand description
The packets of one movement step, in send order.
Fields§
§sprint: Option<EntityAction>Sprint change (entity_action), sent first.
sneak: Option<EntityAction>Sneak change (entity_action), sent second.
packet: MovePacketThe movement packet.
Trait Implementations§
impl Copy for MoveStep
impl StructuralPartialEq for MoveStep
Auto Trait Implementations§
impl Forget for MoveStep
impl Freeze for MoveStep
impl RefUnwindSafe for MoveStep
impl Send for MoveStep
impl Sync for MoveStep
impl Unpin for MoveStep
impl UnsafeUnpin for MoveStep
impl UnwindSafe for MoveStep
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