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