pub struct Game2SetUserMoveTarget {
pub x: i32,
pub y: i32,
pub turn: i32,
pub sub_turn: i32,
}
Fields§
§x: i32
§y: i32
§turn: i32
§sub_turn: i32
Trait Implementations§
source§impl BaseParser for Game2SetUserMoveTarget
impl BaseParser for Game2SetUserMoveTarget
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for Game2SetUserMoveTarget
impl Clone for Game2SetUserMoveTarget
source§fn clone(&self) -> Game2SetUserMoveTarget
fn clone(&self) -> Game2SetUserMoveTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Game2SetUserMoveTarget
impl Debug for Game2SetUserMoveTarget
source§impl Default for Game2SetUserMoveTarget
impl Default for Game2SetUserMoveTarget
source§fn default() -> Game2SetUserMoveTarget
fn default() -> Game2SetUserMoveTarget
Returns the “default value” for a type. Read more
source§impl PartialEq<Game2SetUserMoveTarget> for Game2SetUserMoveTarget
impl PartialEq<Game2SetUserMoveTarget> for Game2SetUserMoveTarget
source§fn eq(&self, other: &Game2SetUserMoveTarget) -> bool
fn eq(&self, other: &Game2SetUserMoveTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Game2SetUserMoveTarget
Auto Trait Implementations§
impl RefUnwindSafe for Game2SetUserMoveTarget
impl Send for Game2SetUserMoveTarget
impl Sync for Game2SetUserMoveTarget
impl Unpin for Game2SetUserMoveTarget
impl UnwindSafe for Game2SetUserMoveTarget
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