Trait valence::message::SendMessage
source · pub trait SendMessage {
// Required methods
fn send_chat_message<'a>(&mut self, msg: impl IntoText<'a>);
fn send_action_bar_message<'a>(&mut self, msg: impl IntoText<'a>);
}
Required Methods§
sourcefn send_chat_message<'a>(&mut self, msg: impl IntoText<'a>)
fn send_chat_message<'a>(&mut self, msg: impl IntoText<'a>)
Sends a system message visible in the chat.
sourcefn send_action_bar_message<'a>(&mut self, msg: impl IntoText<'a>)
fn send_action_bar_message<'a>(&mut self, msg: impl IntoText<'a>)
Displays a message in the player’s action bar (text above the hotbar).
Object Safety§
This trait is not object safe.