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

pub struct PlayerPositionAndLook {
    pub position: [f64; 3]::Clean,
    pub yaw: f32::Clean,
    pub pitch: f32::Clean,
    pub flags: i8::Clean,
}

Fields

position
yaw
pitch
flags

Trait Implementations

impl Protocol for PlayerPositionAndLook

type Clean = Self

fn proto_len(value: &PlayerPositionAndLook) -> usize

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

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

impl PacketWrite for PlayerPositionAndLook

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 PlayerPositionAndLook

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