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

pub struct SetSlot {
    pub window_id: u8::Clean,
    pub slot: i16::Clean,
    pub data: Option<Slot>::Clean,
}

Fields

window_id
slot
data

Trait Implementations

impl Protocol for SetSlot

type Clean = Self

fn proto_len(value: &SetSlot) -> usize

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

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

impl PacketWrite for SetSlot

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 SetSlot

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