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