Struct hematite_server::packet::play::serverbound::CreativeInventoryAction [] [src]

pub struct CreativeInventoryAction {
    pub slot: i16::Clean,
    pub clicked_item: Option<Slot>::Clean,
}

Fields

slot
clicked_item

Trait Implementations

impl Protocol for CreativeInventoryAction

type Clean = Self

fn proto_len(value: &CreativeInventoryAction) -> usize

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

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

impl PacketWrite for CreativeInventoryAction

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 CreativeInventoryAction

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