Struct nbt_lib::datatypes::TextComponent
source · pub struct TextComponent(/* private fields */);Expand description
Trait Implementations§
source§impl Clone for TextComponent
impl Clone for TextComponent
source§fn clone(&self) -> TextComponent
fn clone(&self) -> TextComponent
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 DataReader for TextComponent
impl DataReader for TextComponent
source§impl DataWriter for TextComponent
impl DataWriter for TextComponent
source§impl Debug for TextComponent
impl Debug for TextComponent
source§impl Default for TextComponent
impl Default for TextComponent
source§impl From<String> for TextComponent
impl From<String> for TextComponent
source§impl PartialEq for TextComponent
impl PartialEq for TextComponent
source§fn eq(&self, other: &TextComponent) -> bool
fn eq(&self, other: &TextComponent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TextComponent
Auto Trait Implementations§
impl Freeze for TextComponent
impl RefUnwindSafe for TextComponent
impl Send for TextComponent
impl Sync for TextComponent
impl Unpin for TextComponent
impl UnwindSafe for TextComponent
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