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