pub struct MoveObject {
pub item_id: LegacyId,
pub x: i32,
pub y: i32,
pub direction: i32,
}
Fields§
§item_id: LegacyId
§x: i32
§y: i32
§direction: i32
Trait Implementations§
source§impl BaseParser for MoveObject
impl BaseParser for MoveObject
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 MoveObject
impl Clone for MoveObject
source§fn clone(&self) -> MoveObject
fn clone(&self) -> MoveObject
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 MoveObject
impl Debug for MoveObject
source§impl Default for MoveObject
impl Default for MoveObject
source§fn default() -> MoveObject
fn default() -> MoveObject
Returns the “default value” for a type. Read more
source§impl PacketVariable for MoveObject
impl PacketVariable for MoveObject
source§impl PartialEq<MoveObject> for MoveObject
impl PartialEq<MoveObject> for MoveObject
source§fn eq(&self, other: &MoveObject) -> bool
fn eq(&self, other: &MoveObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MoveObject
Auto Trait Implementations§
impl RefUnwindSafe for MoveObject
impl Send for MoveObject
impl Sync for MoveObject
impl Unpin for MoveObject
impl UnwindSafe for MoveObject
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