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