pub enum AnyRefOrTag {
One(Ref),
Tag(Ref),
}Expand description
Content of any kind or a tag of it: @entity:minecraft:pig,
@tag:entity:c:bosses — a tag’s entries, whose kind the tag says.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AnyRefOrTag
impl Clone for AnyRefOrTag
Source§impl Debug for AnyRefOrTag
impl Debug for AnyRefOrTag
Source§impl Display for AnyRefOrTag
impl Display for AnyRefOrTag
Source§impl PartialEq for AnyRefOrTag
impl PartialEq for AnyRefOrTag
Source§impl Schema for AnyRefOrTag
impl Schema for AnyRefOrTag
impl StructuralPartialEq for AnyRefOrTag
Auto Trait Implementations§
impl Freeze for AnyRefOrTag
impl RefUnwindSafe for AnyRefOrTag
impl Send for AnyRefOrTag
impl Sync for AnyRefOrTag
impl Unpin for AnyRefOrTag
impl UnsafeUnpin for AnyRefOrTag
impl UnwindSafe for AnyRefOrTag
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