pub struct CustomName {
pub name: FormattedText,
}Fields§
§name: FormattedTextTrait Implementations§
Source§impl AzaleaRead for CustomName
impl AzaleaRead for CustomName
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for CustomName
impl AzaleaWrite for CustomName
Source§impl Clone for CustomName
impl Clone for CustomName
Source§fn clone(&self) -> CustomName
fn clone(&self) -> CustomName
Returns a duplicate 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 DataComponentTrait for CustomName
impl DataComponentTrait for CustomName
const KIND: DataComponentKind = DataComponentKind::CustomName
Source§impl Debug for CustomName
impl Debug for CustomName
Source§impl From<CustomName> for DataComponentUnion
impl From<CustomName> for DataComponentUnion
Source§fn from(value: CustomName) -> Self
fn from(value: CustomName) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CustomName
impl PartialEq for CustomName
Source§impl Serialize for CustomName
impl Serialize for CustomName
impl StructuralPartialEq for CustomName
Auto Trait Implementations§
impl Freeze for CustomName
impl RefUnwindSafe for CustomName
impl Send for CustomName
impl Sync for CustomName
impl Unpin for CustomName
impl UnwindSafe for CustomName
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