pub struct ItemDropServerPacket {
pub dropped_item: ThreeItem,
pub remaining_amount: i32,
pub item_index: i32,
pub coords: Coords,
pub weight: Weight,
}Expand description
Reply to dropping items on the ground
Fields§
§dropped_item: ThreeItem§remaining_amount: i32§item_index: i32§coords: Coords§weight: WeightImplementations§
Trait Implementations§
Source§impl Clone for ItemDropServerPacket
impl Clone for ItemDropServerPacket
Source§fn clone(&self) -> ItemDropServerPacket
fn clone(&self) -> ItemDropServerPacket
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 ItemDropServerPacket
impl Debug for ItemDropServerPacket
Source§impl Default for ItemDropServerPacket
impl Default for ItemDropServerPacket
Source§fn default() -> ItemDropServerPacket
fn default() -> ItemDropServerPacket
Returns the “default value” for a type. Read more
Source§impl EoSerialize for ItemDropServerPacket
impl EoSerialize for ItemDropServerPacket
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a ItemDropServerPacket into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a ItemDropServerPacket from an EoReader instance
Source§impl PartialEq for ItemDropServerPacket
impl PartialEq for ItemDropServerPacket
impl Eq for ItemDropServerPacket
impl StructuralPartialEq for ItemDropServerPacket
Auto Trait Implementations§
impl Freeze for ItemDropServerPacket
impl RefUnwindSafe for ItemDropServerPacket
impl Send for ItemDropServerPacket
impl Sync for ItemDropServerPacket
impl Unpin for ItemDropServerPacket
impl UnwindSafe for ItemDropServerPacket
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