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

pub struct Animation {
    pub entity_id: Var<i32>::Clean,
    pub animation: u8::Clean,
}

Fields

entity_id
animation

Trait Implementations

impl Protocol for Animation

type Clean = Self

fn proto_len(value: &Animation) -> usize

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

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

impl PacketWrite for Animation

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 Animation

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