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