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