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

pub struct EntityTeleport {
    pub entity_id: Var<i32>::Clean,
    pub position: [i32; 3]::Clean,
    pub yaw: u8::Clean,
    pub pitch: u8::Clean,
    pub on_ground: bool::Clean,
}

Fields

entity_id
position
yaw
pitch
on_ground

Trait Implementations

impl Protocol for EntityTeleport

type Clean = Self

fn proto_len(value: &EntityTeleport) -> usize

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

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

impl PacketWrite for EntityTeleport

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 EntityTeleport

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