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

pub struct WindowProperty {
    pub window_id: u8::Clean,
    pub property: i16::Clean,
    pub value: i16::Clean,
}

Fields

window_id
property
value

Trait Implementations

impl Protocol for WindowProperty

type Clean = Self

fn proto_len(value: &WindowProperty) -> usize

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

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

impl PacketWrite for WindowProperty

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 WindowProperty

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