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