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

pub struct BlockBreakAnimation {
    pub entity_id: Var<i32>::Clean,
    pub location: BlockPos::Clean,
    pub destroy_stage: i8::Clean,
}

Fields

entity_id
location
destroy_stage

Trait Implementations

impl Protocol for BlockBreakAnimation

type Clean = Self

fn proto_len(value: &BlockBreakAnimation) -> usize

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

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

impl PacketWrite for BlockBreakAnimation

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 BlockBreakAnimation

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