#[non_exhaustive]pub enum ChatPosition {
Chat,
System,
ActionBar,
Other(i8),
}Expand description
Where a chat message is shown.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Chat
A player chat message.
System
A system message (command feedback, server announcements).
ActionBar
The action bar above the hotbar.
Other(i8)
A value this client does not know.
Implementations§
Trait Implementations§
Source§impl Clone for ChatPosition
impl Clone for ChatPosition
impl Copy for ChatPosition
Source§impl Debug for ChatPosition
impl Debug for ChatPosition
impl Eq for ChatPosition
Source§impl Hash for ChatPosition
impl Hash for ChatPosition
Source§impl PartialEq for ChatPosition
impl PartialEq for ChatPosition
impl StructuralPartialEq for ChatPosition
Auto Trait Implementations§
impl Freeze for ChatPosition
impl RefUnwindSafe for ChatPosition
impl Send for ChatPosition
impl Sync for ChatPosition
impl Unpin for ChatPosition
impl UnsafeUnpin for ChatPosition
impl UnwindSafe for ChatPosition
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