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 for MoveObject
impl PartialEq for MoveObject
impl StructuralPartialEq for MoveObject
Auto Trait Implementations§
impl Freeze for MoveObject
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