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

pub struct Respawn {
    pub dimension: Dimension::Clean,
    pub difficulty: u8::Clean,
    pub gamemode: u8::Clean,
    pub level_type: String::Clean,
}

Fields

dimension
difficulty
gamemode
level_type

Trait Implementations

impl Protocol for Respawn

type Clean = Self

fn proto_len(value: &Respawn) -> usize

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

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

impl PacketWrite for Respawn

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 Respawn

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