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

pub struct AttachEntity {
    pub riding_eid: i32::Clean,
    pub vehicle_eid: i32::Clean,
    pub leash: bool::Clean,
}

Fields

riding_eid
vehicle_eid
leash

Trait Implementations

impl Protocol for AttachEntity

type Clean = Self

fn proto_len(value: &AttachEntity) -> usize

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

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

impl PacketWrite for AttachEntity

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 AttachEntity

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