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

pub struct BlockAction {
    pub location: BlockPos::Clean,
    pub byte1: u8::Clean,
    pub byte2: u8::Clean,
    pub block_type: Var<i32>::Clean,
}

Fields

location
byte1
byte2
block_type

Trait Implementations

impl Protocol for BlockAction

type Clean = Self

fn proto_len(value: &BlockAction) -> usize

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

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

impl PacketWrite for BlockAction

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 BlockAction

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