pub struct MoveAvatar {
pub x: i32,
pub y: i32,
}
Fields§
§x: i32
§y: i32
Trait Implementations§
Source§impl BaseParser for MoveAvatar
impl BaseParser for MoveAvatar
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 MoveAvatar
impl Clone for MoveAvatar
Source§fn clone(&self) -> MoveAvatar
fn clone(&self) -> MoveAvatar
Returns a duplicate 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 MoveAvatar
impl Debug for MoveAvatar
Source§impl Default for MoveAvatar
impl Default for MoveAvatar
Source§fn default() -> MoveAvatar
fn default() -> MoveAvatar
Returns the “default value” for a type. Read more
Source§impl PacketVariable for MoveAvatar
impl PacketVariable for MoveAvatar
Source§impl PartialEq for MoveAvatar
impl PartialEq for MoveAvatar
impl StructuralPartialEq for MoveAvatar
Auto Trait Implementations§
impl Freeze for MoveAvatar
impl RefUnwindSafe for MoveAvatar
impl Send for MoveAvatar
impl Sync for MoveAvatar
impl Unpin for MoveAvatar
impl UnwindSafe for MoveAvatar
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