[][src]Enum mcproto_rs::v1_16_3::GameChangeReason

pub enum GameChangeReason {
    NoRespawnAvailable,
    EndRaining,
    BeginRaining,
    ChangeGameMode(GameMode),
    WinGame(WinGameAction),
    Demo(DemoEvent),
    ArrowHitPlayer,
    RainLevelChange(f32),
    ThunderLevelChange(f32),
    PufferfishSting,
    ElderGuardianMobAppearance,
    Respawn(RespawnRequestType),
}

Variants

NoRespawnAvailable
EndRaining
BeginRaining
ChangeGameMode(GameMode)
WinGame(WinGameAction)
Demo(DemoEvent)
ArrowHitPlayer
RainLevelChange(f32)
ThunderLevelChange(f32)
PufferfishSting
ElderGuardianMobAppearance

Trait Implementations

impl Clone for GameChangeReason[src]

impl Debug for GameChangeReason[src]

impl Deserialize for GameChangeReason[src]

impl From<GameChangeReason> for PlayChangeGameStateSpec[src]

impl From<PlayChangeGameStateSpec> for GameChangeReason[src]

impl PartialEq<GameChangeReason> for GameChangeReason[src]

impl Serialize for GameChangeReason[src]

impl StructuralPartialEq for GameChangeReason[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>,