pub enum NbtDisplay {
Styled,
Plain,
Interpret,
}Expand description
Controls how values extracted from NBT are rendered.
Variants§
Styled
Uses the default styled representation.
Plain
Displays the extracted value as plain text.
Interpret
Interprets the extracted value as a serialized text component.
Trait Implementations§
Source§impl Clone for NbtDisplay
impl Clone for NbtDisplay
Source§fn clone(&self) -> NbtDisplay
fn clone(&self) -> NbtDisplay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NbtDisplay
Source§impl Debug for NbtDisplay
impl Debug for NbtDisplay
Source§impl Default for NbtDisplay
impl Default for NbtDisplay
Source§fn default() -> NbtDisplay
fn default() -> NbtDisplay
Returns the “default value” for a type. Read more
impl Eq for NbtDisplay
Source§impl PartialEq for NbtDisplay
impl PartialEq for NbtDisplay
impl StructuralPartialEq for NbtDisplay
Auto Trait Implementations§
impl Freeze for NbtDisplay
impl RefUnwindSafe for NbtDisplay
impl Send for NbtDisplay
impl Sync for NbtDisplay
impl Unpin for NbtDisplay
impl UnsafeUnpin for NbtDisplay
impl UnwindSafe for NbtDisplay
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