pub struct EntityUpdateAttributes {
pub entity_id: i32,
pub properties: Vec<EntityUpdateAttributesProperties>,
}Expand description
entity_update_attributes (clientbound play, id 0x58).
Fields§
§entity_id: i32entityId
properties: Vec<EntityUpdateAttributesProperties>properties
Trait Implementations§
Source§impl Clone for EntityUpdateAttributes
impl Clone for EntityUpdateAttributes
Source§impl Debug for EntityUpdateAttributes
impl Debug for EntityUpdateAttributes
Source§impl Decode for EntityUpdateAttributes
impl Decode for EntityUpdateAttributes
Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for EntityUpdateAttributes
impl Encode for EntityUpdateAttributes
Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl From<EntityUpdateAttributes> for ClientboundPlayPacket
impl From<EntityUpdateAttributes> for ClientboundPlayPacket
Source§fn from(p: EntityUpdateAttributes) -> Self
fn from(p: EntityUpdateAttributes) -> Self
Converts to this type from the input type.
Source§impl Generate for EntityUpdateAttributes
Available on crate feature testgen only.
impl Generate for EntityUpdateAttributes
Available on crate feature
testgen only.Source§impl Packet for EntityUpdateAttributes
impl Packet for EntityUpdateAttributes
Source§impl PartialEq for EntityUpdateAttributes
impl PartialEq for EntityUpdateAttributes
impl StructuralPartialEq for EntityUpdateAttributes
Auto Trait Implementations§
impl Forget for EntityUpdateAttributes
impl Freeze for EntityUpdateAttributes
impl RefUnwindSafe for EntityUpdateAttributes
impl Send for EntityUpdateAttributes
impl Sync for EntityUpdateAttributes
impl Unpin for EntityUpdateAttributes
impl UnsafeUnpin for EntityUpdateAttributes
impl UnwindSafe for EntityUpdateAttributes
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