[][src]Enum terraria_protocol::packets::TileAction

pub enum TileAction {
    KillTile {
        fail: bool,
    },
    PlaceTile {
        ty: u8,
        style: u8,
    },
    KillWall {
        fail: bool,
    },
    PlaceWall {
        ty: u8,
    },
    KillTileNoItem {
        fail: bool,
    },
    PlaceWire,
    KillWire,
    PoundTile,
    PlaceActuator,
    KillActuator,
    PlaceWire2,
    KillWire2,
    PlaceWire3,
    KillWire3,
    SlopeTile {
        slope: u8,
    },
    FrameTrack,
    PlaceWire4,
    KillWire4,
    PokeLogicGate,
    Actuate,
    KillTile2 {
        fail: bool,
    },
    ReplaceTile {
        ty: i16,
        style: u8,
    },
    ReplaceWall {
        ty: i16,
    },
    SlopePoundTile,
}

Variants

KillTile

Fields of KillTile

fail: bool
PlaceTile

Fields of PlaceTile

ty: u8style: u8
KillWall

Fields of KillWall

fail: bool
PlaceWall

Fields of PlaceWall

ty: u8
KillTileNoItem

Fields of KillTileNoItem

fail: bool
PlaceWire
KillWire
PoundTile
PlaceActuator
KillActuator
PlaceWire2
KillWire2
PlaceWire3
KillWire3
SlopeTile

Fields of SlopeTile

slope: u8
FrameTrack
PlaceWire4
KillWire4
PokeLogicGate
Actuate
KillTile2

Fields of KillTile2

fail: bool
ReplaceTile

Fields of ReplaceTile

ty: i16style: u8
ReplaceWall

Fields of ReplaceWall

ty: i16
SlopePoundTile

Trait Implementations

impl Clone for TileAction[src]

impl Copy for TileAction[src]

impl Debug for TileAction[src]

impl Eq for TileAction[src]

impl PartialEq<TileAction> for TileAction[src]

impl StructuralEq for TileAction[src]

impl StructuralPartialEq for TileAction[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> 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.