[][src]Enum mcproto_rs::v1_16_3::ParticleSpec

pub enum ParticleSpec {
    AmbientEntityEffect,
    AngryVillager,
    Barrier,
    Block(BlockParticleData),
    Bubble,
    Cloud,
    Crit,
    DamageIndicator,
    DragonBreath,
    DrippingLava,
    FallingLava,
    LandingLava,
    DrippingWater,
    FallingWater,
    Dust(DustParticleData),
    Effect,
    ElderGuardian,
    EnchantedHit,
    Enchant,
    EndRod,
    EntityEffect,
    ExposionEmitter,
    Explosion,
    FallingDust(DustParticleData),
    Firework,
    Fishing,
    Flame,
    Flash,
    HappyVillager,
    Composter,
    Heart,
    InstantEffect,
    Item(Slot),
    ItemSlime,
    ItemSnowball,
    LargeSmoke,
    Lava,
    Mycelium,
    Note,
    Poof,
    Portal,
    Rain,
    Smoke,
    Sneeze,
    Spit,
    SquidInk,
    SweepAttack,
    TotemOfUndying,
    Underwater,
    Splash,
    Witch,
    BubblePop,
    CurrentDown,
    BubbleColumnUp,
    Nautilus,
    Dolphin,
    CampfireCosySmoke,
    CampfireSignalSmoke,
    DrippingHoney,
    FallingHoney,
    LandingHoney,
    FallingNectar,
}

Variants

AmbientEntityEffect
AngryVillager
Barrier
Bubble
Cloud
Crit
DamageIndicator
DragonBreath
DrippingLava
FallingLava
LandingLava
DrippingWater
FallingWater
Effect
ElderGuardian
EnchantedHit
Enchant
EndRod
EntityEffect
ExposionEmitter
Explosion
FallingDust(DustParticleData)
Firework
Fishing
Flame
Flash
HappyVillager
Composter
Heart
InstantEffect
Item(Slot)
ItemSlime
ItemSnowball
LargeSmoke
Lava
Mycelium
Note
Poof
Portal
Rain
Smoke
Sneeze
Spit
SquidInk
SweepAttack
TotemOfUndying
Underwater
Splash
Witch
BubblePop
CurrentDown
BubbleColumnUp
Nautilus
Dolphin
CampfireCosySmoke
CampfireSignalSmoke
DrippingHoney
FallingHoney
LandingHoney
FallingNectar

Implementations

impl ParticleSpec[src]

pub const fn variant_count() -> usize[src]

pub fn deserialize_with_id<'a>(
    id: VarInt,
    data: &'a [u8]
) -> DeserializeResult<'a, Self>
[src]

pub fn name(&self) -> &str[src]

pub fn id(&self) -> VarInt[src]

pub fn serialize_body<S: Serializer>(&self, to: &mut S) -> SerializeResult[src]

Trait Implementations

impl Clone for ParticleSpec[src]

impl Debug for ParticleSpec[src]

impl Deserialize for ParticleSpec[src]

impl PartialEq<ParticleSpec> for ParticleSpec[src]

impl Serialize for ParticleSpec[src]

impl StructuralPartialEq for ParticleSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ProtocolType for T where
    T: Deserialize + Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,