pub struct RemoveEntityEffect {
pub entity_id: i32,
pub effect_id: i8,
}Expand description
remove_entity_effect (clientbound play, id 0x1e).
Fields§
§entity_id: i32entityId
effect_id: i8effectId
Trait Implementations§
Source§impl Clone for RemoveEntityEffect
impl Clone for RemoveEntityEffect
Source§impl Debug for RemoveEntityEffect
impl Debug for RemoveEntityEffect
Source§impl Decode for RemoveEntityEffect
impl Decode for RemoveEntityEffect
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 RemoveEntityEffect
impl Encode for RemoveEntityEffect
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<RemoveEntityEffect> for ClientboundPlayPacket
impl From<RemoveEntityEffect> for ClientboundPlayPacket
Source§fn from(p: RemoveEntityEffect) -> Self
fn from(p: RemoveEntityEffect) -> Self
Converts to this type from the input type.
Source§impl Generate for RemoveEntityEffect
Available on crate feature testgen only.
impl Generate for RemoveEntityEffect
Available on crate feature
testgen only.Source§impl Packet for RemoveEntityEffect
impl Packet for RemoveEntityEffect
Source§impl PartialEq for RemoveEntityEffect
impl PartialEq for RemoveEntityEffect
impl StructuralPartialEq for RemoveEntityEffect
Auto Trait Implementations§
impl Freeze for RemoveEntityEffect
impl RefUnwindSafe for RemoveEntityEffect
impl Send for RemoveEntityEffect
impl Sync for RemoveEntityEffect
impl Unpin for RemoveEntityEffect
impl UnsafeUnpin for RemoveEntityEffect
impl UnwindSafe for RemoveEntityEffect
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