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