Struct hematite_server::packet::play::clientbound::SpawnGlobalEntity [] [src]

pub struct SpawnGlobalEntity {
    pub entity_id: Var<i32>::Clean,
    pub type_: i8::Clean,
    pub position: [i32; 3]::Clean,
}

Fields

entity_id
type_
position

Trait Implementations

impl Protocol for SpawnGlobalEntity

type Clean = Self

fn proto_len(value: &SpawnGlobalEntity) -> usize

fn proto_encode(value: &SpawnGlobalEntity, dst: &mut Write) -> Result<()>

fn proto_decode(src: &mut Read) -> Result<SpawnGlobalEntity>

impl PacketWrite for SpawnGlobalEntity

fn inner_len(&self) -> usize

fn inner_encode(&self, dst: &mut Write) -> Result<()>

fn write(&self, dst: &mut Write) -> Result<()>

Derived Implementations

impl Debug for SpawnGlobalEntity

fn fmt(&self, __arg_0: &mut Formatter) -> Result