Enum fast_protocol::datatypes::packets::ChatMode
source · pub enum ChatMode {
Enabled,
CommandsOnly,
Hidden,
}Expand description
Enum of all the available Chat modes
Variants§
Enabled
Everything should be send to the client
CommandsOnly
Only commmand data should get send to the player
Hidden
nothing from the chat should get send to the player
Trait Implementations§
impl Copy for ChatMode
Auto Trait Implementations§
impl Freeze for ChatMode
impl RefUnwindSafe for ChatMode
impl Send for ChatMode
impl Sync for ChatMode
impl Unpin for ChatMode
impl UnwindSafe for ChatMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more