fmc_protocol

Trait ServerBound

source
pub trait ServerBound {
    const TYPE: MessageType;
}
Expand description

A marker trait to signal that this message should be sent to the server

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ServerBound for InterfaceInteraction

source§

const TYPE: MessageType = crate::MessageType::InterfaceInteraction

source§

impl ServerBound for AssetRequest

source§

const TYPE: MessageType = crate::MessageType::AssetRequest

source§

impl ServerBound for ClientIdentification

source§

const TYPE: MessageType = crate::MessageType::ClientIdentification

source§

impl ServerBound for ClientReady

source§

const TYPE: MessageType = crate::MessageType::ClientReady

source§

impl ServerBound for InterfaceEquipItem

source§

const TYPE: MessageType = crate::MessageType::InterfaceEquipItem

source§

impl ServerBound for InterfaceTextInput

source§

const TYPE: MessageType = crate::MessageType::InterfaceTextInput

source§

impl ServerBound for LeftClick

source§

const TYPE: MessageType = crate::MessageType::LeftClick

source§

impl ServerBound for PlayerCameraRotation

source§

const TYPE: MessageType = crate::MessageType::PlayerCameraRotation

source§

impl ServerBound for PlayerPosition

source§

const TYPE: MessageType = crate::MessageType::PlayerPosition

source§

impl ServerBound for RenderDistance

source§

const TYPE: MessageType = crate::MessageType::RenderDistance

source§

impl ServerBound for RightClick

source§

const TYPE: MessageType = crate::MessageType::RightClick