Struct hematite_server::packet::play::serverbound::PlayerLook [] [src]

pub struct PlayerLook {
    pub yaw: f32::Clean,
    pub pitch: f32::Clean,
    pub on_ground: bool::Clean,
}

Fields

yaw
pitch
on_ground

Trait Implementations

impl Protocol for PlayerLook

type Clean = Self

fn proto_len(value: &PlayerLook) -> usize

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

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

impl PacketWrite for PlayerLook

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 PlayerLook

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