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

pub struct EntityRelativeMove {
    pub entity_id: Var<i32>::Clean,
    pub delta: [i8; 3]::Clean,
    pub on_ground: bool::Clean,
}

Fields

entity_id
delta
on_ground

Trait Implementations

impl Protocol for EntityRelativeMove

type Clean = Self

fn proto_len(value: &EntityRelativeMove) -> usize

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

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

impl PacketWrite for EntityRelativeMove

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 EntityRelativeMove

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