pub struct PlayCollectItemSpec {
pub collected_entity_id: VarInt,
pub collector_entity_id: VarInt,
pub pickup_item_count: VarInt,
}
Fields§
§collected_entity_id: VarInt
§collector_entity_id: VarInt
§pickup_item_count: VarInt
Trait Implementations§
Source§impl Clone for PlayCollectItemSpec
impl Clone for PlayCollectItemSpec
Source§fn clone(&self) -> PlayCollectItemSpec
fn clone(&self) -> PlayCollectItemSpec
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 PlayCollectItemSpec
impl Debug for PlayCollectItemSpec
Source§impl Deserialize for PlayCollectItemSpec
impl Deserialize for PlayCollectItemSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayCollectItemSpec> for (VarInt, VarInt, VarInt)
impl From<PlayCollectItemSpec> for (VarInt, VarInt, VarInt)
Source§fn from(other: PlayCollectItemSpec) -> Self
fn from(other: PlayCollectItemSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayCollectItemSpec
impl PartialEq for PlayCollectItemSpec
Source§impl Serialize for PlayCollectItemSpec
impl Serialize for PlayCollectItemSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayCollectItemSpec
Auto Trait Implementations§
impl Freeze for PlayCollectItemSpec
impl RefUnwindSafe for PlayCollectItemSpec
impl Send for PlayCollectItemSpec
impl Sync for PlayCollectItemSpec
impl Unpin for PlayCollectItemSpec
impl UnwindSafe for PlayCollectItemSpec
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