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