Enum TextNbtSource
pub enum TextNbtSource {
Block(String),
Entity(String),
Storage(String),
}Expand description
The source of an NBT component, not the NBT itself.
Variants§
Block(String)
Block position expression.
Entity(String)
Entity selector expression.
Storage(String)
Command storage identifier.
Trait Implementations§
§impl Clone for TextNbtSource
impl Clone for TextNbtSource
§fn clone(&self) -> TextNbtSource
fn clone(&self) -> TextNbtSource
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 more§impl Debug for TextNbtSource
impl Debug for TextNbtSource
impl Eq for TextNbtSource
§impl PartialEq for TextNbtSource
impl PartialEq for TextNbtSource
impl StructuralPartialEq for TextNbtSource
Auto Trait Implementations§
impl Freeze for TextNbtSource
impl RefUnwindSafe for TextNbtSource
impl Send for TextNbtSource
impl Sync for TextNbtSource
impl Unpin for TextNbtSource
impl UnsafeUnpin for TextNbtSource
impl UnwindSafe for TextNbtSource
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