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

pub struct CloseWindow {
    pub window_id: u8::Clean,
}

Fields

window_id

Trait Implementations

impl Protocol for CloseWindow

type Clean = Self

fn proto_len(value: &CloseWindow) -> usize

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

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

impl PacketWrite for CloseWindow

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 CloseWindow

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