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