Struct azalea_core::registry_holder::ChatTypeElement
source · pub struct ChatTypeElement {
pub chat: ChatTypeData,
pub narration: ChatTypeData,
}
Expand description
Data about a kind of chat message
Fields§
§chat: ChatTypeData
§narration: ChatTypeData
Trait Implementations§
source§impl Clone for ChatTypeElement
impl Clone for ChatTypeElement
source§fn clone(&self) -> ChatTypeElement
fn clone(&self) -> ChatTypeElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChatTypeElement
impl Debug for ChatTypeElement
source§impl Deserialize for ChatTypeElement
impl Deserialize for ChatTypeElement
fn from_compound(nbt: &NbtCompound<'_>) -> Result<Self, DeserializeError>
fn from_nbt(nbt: &BaseNbt<'_>) -> Result<Self, DeserializeError>
source§impl Serialize for ChatTypeElement
impl Serialize for ChatTypeElement
fn to_compound(self) -> NbtCompound
fn to_nbt(self) -> BaseNbt
Auto Trait Implementations§
impl Freeze for ChatTypeElement
impl RefUnwindSafe for ChatTypeElement
impl Send for ChatTypeElement
impl Sync for ChatTypeElement
impl Unpin for ChatTypeElement
impl UnwindSafe for ChatTypeElement
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