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