pub struct Identifier { /* private fields */ }Expand description
An identifier, like minecraft:stone or brigadier:number.
All registry variants can be converted to an identifier.
This was formerly called a ResourceLocation.
Implementations§
Trait Implementations§
Source§impl AzBuf for Identifier
impl AzBuf for Identifier
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
fn azalea_write(&self, buf: &mut impl Write) -> Result<()>
Source§impl Clone for Identifier
impl Clone for Identifier
Source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
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 Debug for Identifier
impl Debug for Identifier
Source§impl Default for Identifier
impl Default for Identifier
Source§fn default() -> Identifier
fn default() -> Identifier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Identifier
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Identifier
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Identifier
impl Display for Identifier
Source§impl<'a> From<&'a Identifier> for BannerPatternKey<&'a Identifier>
impl<'a> From<&'a Identifier> for BannerPatternKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for BiomeKey<&'a Identifier>
impl<'a> From<&'a Identifier> for BiomeKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for CatVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for CatVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for ChatKindKey<&'a Identifier>
impl<'a> From<&'a Identifier> for ChatKindKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for ChickenVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for ChickenVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for CowVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for CowVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for DamageKindKey<&'a Identifier>
impl<'a> From<&'a Identifier> for DamageKindKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for DialogKey<&'a Identifier>
impl<'a> From<&'a Identifier> for DialogKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for DimensionKindKey<&'a Identifier>
impl<'a> From<&'a Identifier> for DimensionKindKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for EnchantmentKey<&'a Identifier>
impl<'a> From<&'a Identifier> for EnchantmentKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for EnchantmentProviderKey<&'a Identifier>
impl<'a> From<&'a Identifier> for EnchantmentProviderKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for FrogVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for FrogVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for InstrumentKey<&'a Identifier>
impl<'a> From<&'a Identifier> for InstrumentKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for JukeboxSongKey<&'a Identifier>
impl<'a> From<&'a Identifier> for JukeboxSongKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for PaintingVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for PaintingVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for PigVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for PigVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for RecipeKey<&'a Identifier>
impl<'a> From<&'a Identifier> for RecipeKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for TestEnvironmentKey<&'a Identifier>
impl<'a> From<&'a Identifier> for TestEnvironmentKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for TestInstanceKey<&'a Identifier>
impl<'a> From<&'a Identifier> for TestInstanceKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for TimelineKey<&'a Identifier>
impl<'a> From<&'a Identifier> for TimelineKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for TrimMaterialKey<&'a Identifier>
impl<'a> From<&'a Identifier> for TrimMaterialKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for TrimPatternKey<&'a Identifier>
impl<'a> From<&'a Identifier> for TrimPatternKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for WolfSoundVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for WolfSoundVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for WolfVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for WolfVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for ZombieNautilusVariantKey<&'a Identifier>
impl<'a> From<&'a Identifier> for ZombieNautilusVariantKey<&'a Identifier>
Source§fn from(ident: &'a Identifier) -> Self
fn from(ident: &'a Identifier) -> Self
Converts to this type from the input type.
Source§impl From<&str> for Identifier
impl From<&str> for Identifier
Source§impl From<BannerPatternKey<&Identifier>> for Identifier
impl From<BannerPatternKey<&Identifier>> for Identifier
Source§fn from(registry: BannerPatternKey<&Identifier>) -> Self
fn from(registry: BannerPatternKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<BannerPatternKey> for Identifier
impl From<BannerPatternKey> for Identifier
Source§fn from(registry: BannerPatternKey) -> Self
fn from(registry: BannerPatternKey) -> Self
Converts to this type from the input type.
Source§impl From<BiomeKey<&Identifier>> for Identifier
impl From<BiomeKey<&Identifier>> for Identifier
Source§fn from(registry: BiomeKey<&Identifier>) -> Self
fn from(registry: BiomeKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<BiomeKey> for Identifier
impl From<BiomeKey> for Identifier
Source§impl From<CatVariantKey<&Identifier>> for Identifier
impl From<CatVariantKey<&Identifier>> for Identifier
Source§fn from(registry: CatVariantKey<&Identifier>) -> Self
fn from(registry: CatVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<CatVariantKey> for Identifier
impl From<CatVariantKey> for Identifier
Source§fn from(registry: CatVariantKey) -> Self
fn from(registry: CatVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<ChatKindKey<&Identifier>> for Identifier
impl From<ChatKindKey<&Identifier>> for Identifier
Source§fn from(registry: ChatKindKey<&Identifier>) -> Self
fn from(registry: ChatKindKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<ChatKindKey> for Identifier
impl From<ChatKindKey> for Identifier
Source§fn from(registry: ChatKindKey) -> Self
fn from(registry: ChatKindKey) -> Self
Converts to this type from the input type.
Source§impl From<ChickenVariantKey<&Identifier>> for Identifier
impl From<ChickenVariantKey<&Identifier>> for Identifier
Source§fn from(registry: ChickenVariantKey<&Identifier>) -> Self
fn from(registry: ChickenVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<ChickenVariantKey> for Identifier
impl From<ChickenVariantKey> for Identifier
Source§fn from(registry: ChickenVariantKey) -> Self
fn from(registry: ChickenVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<CowVariantKey<&Identifier>> for Identifier
impl From<CowVariantKey<&Identifier>> for Identifier
Source§fn from(registry: CowVariantKey<&Identifier>) -> Self
fn from(registry: CowVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<CowVariantKey> for Identifier
impl From<CowVariantKey> for Identifier
Source§fn from(registry: CowVariantKey) -> Self
fn from(registry: CowVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<DamageKindKey<&Identifier>> for Identifier
impl From<DamageKindKey<&Identifier>> for Identifier
Source§fn from(registry: DamageKindKey<&Identifier>) -> Self
fn from(registry: DamageKindKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<DamageKindKey> for Identifier
impl From<DamageKindKey> for Identifier
Source§fn from(registry: DamageKindKey) -> Self
fn from(registry: DamageKindKey) -> Self
Converts to this type from the input type.
Source§impl From<DialogKey<&Identifier>> for Identifier
impl From<DialogKey<&Identifier>> for Identifier
Source§fn from(registry: DialogKey<&Identifier>) -> Self
fn from(registry: DialogKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<DialogKey> for Identifier
impl From<DialogKey> for Identifier
Source§impl From<DimensionKindKey<&Identifier>> for Identifier
impl From<DimensionKindKey<&Identifier>> for Identifier
Source§fn from(registry: DimensionKindKey<&Identifier>) -> Self
fn from(registry: DimensionKindKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<DimensionKindKey> for Identifier
impl From<DimensionKindKey> for Identifier
Source§fn from(registry: DimensionKindKey) -> Self
fn from(registry: DimensionKindKey) -> Self
Converts to this type from the input type.
Source§impl From<EnchantmentKey<&Identifier>> for Identifier
impl From<EnchantmentKey<&Identifier>> for Identifier
Source§fn from(registry: EnchantmentKey<&Identifier>) -> Self
fn from(registry: EnchantmentKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<EnchantmentKey> for Identifier
impl From<EnchantmentKey> for Identifier
Source§fn from(registry: EnchantmentKey) -> Self
fn from(registry: EnchantmentKey) -> Self
Converts to this type from the input type.
Source§impl From<EnchantmentProviderKey<&Identifier>> for Identifier
impl From<EnchantmentProviderKey<&Identifier>> for Identifier
Source§fn from(registry: EnchantmentProviderKey<&Identifier>) -> Self
fn from(registry: EnchantmentProviderKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<EnchantmentProviderKey> for Identifier
impl From<EnchantmentProviderKey> for Identifier
Source§fn from(registry: EnchantmentProviderKey) -> Self
fn from(registry: EnchantmentProviderKey) -> Self
Converts to this type from the input type.
Source§impl From<FrogVariantKey<&Identifier>> for Identifier
impl From<FrogVariantKey<&Identifier>> for Identifier
Source§fn from(registry: FrogVariantKey<&Identifier>) -> Self
fn from(registry: FrogVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<FrogVariantKey> for Identifier
impl From<FrogVariantKey> for Identifier
Source§fn from(registry: FrogVariantKey) -> Self
fn from(registry: FrogVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for BannerPatternKey
impl From<Identifier> for BannerPatternKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for BiomeKey
impl From<Identifier> for BiomeKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for CatVariantKey
impl From<Identifier> for CatVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for ChatKindKey
impl From<Identifier> for ChatKindKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for ChickenVariantKey
impl From<Identifier> for ChickenVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for CowVariantKey
impl From<Identifier> for CowVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for DamageKindKey
impl From<Identifier> for DamageKindKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for DialogKey
impl From<Identifier> for DialogKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for DimensionKindKey
impl From<Identifier> for DimensionKindKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for EnchantmentKey
impl From<Identifier> for EnchantmentKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for EnchantmentProviderKey
impl From<Identifier> for EnchantmentProviderKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for FrogVariantKey
impl From<Identifier> for FrogVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for InstrumentKey
impl From<Identifier> for InstrumentKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for JukeboxSongKey
impl From<Identifier> for JukeboxSongKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for PaintingVariantKey
impl From<Identifier> for PaintingVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for PigVariantKey
impl From<Identifier> for PigVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for RecipeKey
impl From<Identifier> for RecipeKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for TestEnvironmentKey
impl From<Identifier> for TestEnvironmentKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for TestInstanceKey
impl From<Identifier> for TestInstanceKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for TimelineKey
impl From<Identifier> for TimelineKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for TrimMaterialKey
impl From<Identifier> for TrimMaterialKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for TrimPatternKey
impl From<Identifier> for TrimPatternKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for WolfSoundVariantKey
impl From<Identifier> for WolfSoundVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for WolfVariantKey
impl From<Identifier> for WolfVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for ZombieNautilusVariantKey
impl From<Identifier> for ZombieNautilusVariantKey
Source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<InstrumentKey<&Identifier>> for Identifier
impl From<InstrumentKey<&Identifier>> for Identifier
Source§fn from(registry: InstrumentKey<&Identifier>) -> Self
fn from(registry: InstrumentKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<InstrumentKey> for Identifier
impl From<InstrumentKey> for Identifier
Source§fn from(registry: InstrumentKey) -> Self
fn from(registry: InstrumentKey) -> Self
Converts to this type from the input type.
Source§impl From<JukeboxSongKey<&Identifier>> for Identifier
impl From<JukeboxSongKey<&Identifier>> for Identifier
Source§fn from(registry: JukeboxSongKey<&Identifier>) -> Self
fn from(registry: JukeboxSongKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<JukeboxSongKey> for Identifier
impl From<JukeboxSongKey> for Identifier
Source§fn from(registry: JukeboxSongKey) -> Self
fn from(registry: JukeboxSongKey) -> Self
Converts to this type from the input type.
Source§impl From<PaintingVariantKey<&Identifier>> for Identifier
impl From<PaintingVariantKey<&Identifier>> for Identifier
Source§fn from(registry: PaintingVariantKey<&Identifier>) -> Self
fn from(registry: PaintingVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<PaintingVariantKey> for Identifier
impl From<PaintingVariantKey> for Identifier
Source§fn from(registry: PaintingVariantKey) -> Self
fn from(registry: PaintingVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<PigVariantKey<&Identifier>> for Identifier
impl From<PigVariantKey<&Identifier>> for Identifier
Source§fn from(registry: PigVariantKey<&Identifier>) -> Self
fn from(registry: PigVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<PigVariantKey> for Identifier
impl From<PigVariantKey> for Identifier
Source§fn from(registry: PigVariantKey) -> Self
fn from(registry: PigVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<RecipeKey<&Identifier>> for Identifier
impl From<RecipeKey<&Identifier>> for Identifier
Source§fn from(registry: RecipeKey<&Identifier>) -> Self
fn from(registry: RecipeKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<RecipeKey> for Identifier
impl From<RecipeKey> for Identifier
Source§impl From<TestEnvironmentKey<&Identifier>> for Identifier
impl From<TestEnvironmentKey<&Identifier>> for Identifier
Source§fn from(registry: TestEnvironmentKey<&Identifier>) -> Self
fn from(registry: TestEnvironmentKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<TestEnvironmentKey> for Identifier
impl From<TestEnvironmentKey> for Identifier
Source§fn from(registry: TestEnvironmentKey) -> Self
fn from(registry: TestEnvironmentKey) -> Self
Converts to this type from the input type.
Source§impl From<TestInstanceKey<&Identifier>> for Identifier
impl From<TestInstanceKey<&Identifier>> for Identifier
Source§fn from(registry: TestInstanceKey<&Identifier>) -> Self
fn from(registry: TestInstanceKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<TestInstanceKey> for Identifier
impl From<TestInstanceKey> for Identifier
Source§fn from(registry: TestInstanceKey) -> Self
fn from(registry: TestInstanceKey) -> Self
Converts to this type from the input type.
Source§impl From<TimelineKey<&Identifier>> for Identifier
impl From<TimelineKey<&Identifier>> for Identifier
Source§fn from(registry: TimelineKey<&Identifier>) -> Self
fn from(registry: TimelineKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<TimelineKey> for Identifier
impl From<TimelineKey> for Identifier
Source§fn from(registry: TimelineKey) -> Self
fn from(registry: TimelineKey) -> Self
Converts to this type from the input type.
Source§impl From<TrimMaterialKey<&Identifier>> for Identifier
impl From<TrimMaterialKey<&Identifier>> for Identifier
Source§fn from(registry: TrimMaterialKey<&Identifier>) -> Self
fn from(registry: TrimMaterialKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<TrimMaterialKey> for Identifier
impl From<TrimMaterialKey> for Identifier
Source§fn from(registry: TrimMaterialKey) -> Self
fn from(registry: TrimMaterialKey) -> Self
Converts to this type from the input type.
Source§impl From<TrimPatternKey<&Identifier>> for Identifier
impl From<TrimPatternKey<&Identifier>> for Identifier
Source§fn from(registry: TrimPatternKey<&Identifier>) -> Self
fn from(registry: TrimPatternKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<TrimPatternKey> for Identifier
impl From<TrimPatternKey> for Identifier
Source§fn from(registry: TrimPatternKey) -> Self
fn from(registry: TrimPatternKey) -> Self
Converts to this type from the input type.
Source§impl From<WolfSoundVariantKey<&Identifier>> for Identifier
impl From<WolfSoundVariantKey<&Identifier>> for Identifier
Source§fn from(registry: WolfSoundVariantKey<&Identifier>) -> Self
fn from(registry: WolfSoundVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<WolfSoundVariantKey> for Identifier
impl From<WolfSoundVariantKey> for Identifier
Source§fn from(registry: WolfSoundVariantKey) -> Self
fn from(registry: WolfSoundVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<WolfVariantKey<&Identifier>> for Identifier
impl From<WolfVariantKey<&Identifier>> for Identifier
Source§fn from(registry: WolfVariantKey<&Identifier>) -> Self
fn from(registry: WolfVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<WolfVariantKey> for Identifier
impl From<WolfVariantKey> for Identifier
Source§fn from(registry: WolfVariantKey) -> Self
fn from(registry: WolfVariantKey) -> Self
Converts to this type from the input type.
Source§impl From<ZombieNautilusVariantKey<&Identifier>> for Identifier
impl From<ZombieNautilusVariantKey<&Identifier>> for Identifier
Source§fn from(registry: ZombieNautilusVariantKey<&Identifier>) -> Self
fn from(registry: ZombieNautilusVariantKey<&Identifier>) -> Self
Converts to this type from the input type.
Source§impl From<ZombieNautilusVariantKey> for Identifier
impl From<ZombieNautilusVariantKey> for Identifier
Source§fn from(registry: ZombieNautilusVariantKey) -> Self
fn from(registry: ZombieNautilusVariantKey) -> Self
Converts to this type from the input type.
Source§impl FromNbtTag for Identifier
impl FromNbtTag for Identifier
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for Identifier
impl FromStr for Identifier
Source§impl Hash for Identifier
impl Hash for Identifier
Source§impl PartialEq for Identifier
impl PartialEq for Identifier
Source§impl Serialize for Identifier
Available on crate feature serde only.
impl Serialize for Identifier
Available on crate feature
serde only.Source§impl ToNbtTag for Identifier
impl ToNbtTag for Identifier
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl<'a> TryFrom<&'a Identifier> for AbstractBlockKind
impl<'a> TryFrom<&'a Identifier> for AbstractBlockKind
Source§impl<'a> TryFrom<&'a Identifier> for Activity
impl<'a> TryFrom<&'a Identifier> for Activity
Source§impl<'a> TryFrom<&'a Identifier> for Attribute
impl<'a> TryFrom<&'a Identifier> for Attribute
Source§impl<'a> TryFrom<&'a Identifier> for AttributeKind
impl<'a> TryFrom<&'a Identifier> for AttributeKind
Source§impl<'a> TryFrom<&'a Identifier> for BlockEntityKind
impl<'a> TryFrom<&'a Identifier> for BlockEntityKind
Source§impl<'a> TryFrom<&'a Identifier> for BlockKind
impl<'a> TryFrom<&'a Identifier> for BlockKind
Source§impl<'a> TryFrom<&'a Identifier> for BlockPredicateKind
impl<'a> TryFrom<&'a Identifier> for BlockPredicateKind
Source§impl<'a> TryFrom<&'a Identifier> for ChunkStatus
impl<'a> TryFrom<&'a Identifier> for ChunkStatus
Source§impl<'a> TryFrom<&'a Identifier> for CommandArgumentKind
impl<'a> TryFrom<&'a Identifier> for CommandArgumentKind
Source§impl<'a> TryFrom<&'a Identifier> for ConsumeEffectKind
impl<'a> TryFrom<&'a Identifier> for ConsumeEffectKind
Source§impl<'a> TryFrom<&'a Identifier> for CreativeModeTab
impl<'a> TryFrom<&'a Identifier> for CreativeModeTab
Source§impl<'a> TryFrom<&'a Identifier> for CustomStat
impl<'a> TryFrom<&'a Identifier> for CustomStat
Source§impl<'a> TryFrom<&'a Identifier> for DataComponentKind
impl<'a> TryFrom<&'a Identifier> for DataComponentKind
Source§impl<'a> TryFrom<&'a Identifier> for DataComponentPredicateKind
impl<'a> TryFrom<&'a Identifier> for DataComponentPredicateKind
Source§impl<'a> TryFrom<&'a Identifier> for DebugSubscription
impl<'a> TryFrom<&'a Identifier> for DebugSubscription
Source§impl<'a> TryFrom<&'a Identifier> for DecoratedPotPattern
impl<'a> TryFrom<&'a Identifier> for DecoratedPotPattern
Source§impl<'a> TryFrom<&'a Identifier> for DialogActionKind
impl<'a> TryFrom<&'a Identifier> for DialogActionKind
Source§impl<'a> TryFrom<&'a Identifier> for DialogBodyKind
impl<'a> TryFrom<&'a Identifier> for DialogBodyKind
Source§impl<'a> TryFrom<&'a Identifier> for DialogKind
impl<'a> TryFrom<&'a Identifier> for DialogKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentEffectComponentKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentEffectComponentKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentEntityEffectKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentEntityEffectKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentLevelBasedValueKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentLevelBasedValueKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentLocationBasedEffectKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentLocationBasedEffectKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentProviderKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for EnchantmentValueEffectKind
impl<'a> TryFrom<&'a Identifier> for EnchantmentValueEffectKind
Source§impl<'a> TryFrom<&'a Identifier> for EntityKind
impl<'a> TryFrom<&'a Identifier> for EntityKind
Source§impl<'a> TryFrom<&'a Identifier> for EntitySubPredicateKind
impl<'a> TryFrom<&'a Identifier> for EntitySubPredicateKind
Source§impl<'a> TryFrom<&'a Identifier> for EnvironmentAttribute
impl<'a> TryFrom<&'a Identifier> for EnvironmentAttribute
Source§impl<'a> TryFrom<&'a Identifier> for FloatProviderKind
impl<'a> TryFrom<&'a Identifier> for FloatProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for Fluid
impl<'a> TryFrom<&'a Identifier> for Fluid
Source§impl<'a> TryFrom<&'a Identifier> for GameEvent
impl<'a> TryFrom<&'a Identifier> for GameEvent
Source§impl<'a> TryFrom<&'a Identifier> for GameRule
impl<'a> TryFrom<&'a Identifier> for GameRule
Source§impl<'a> TryFrom<&'a Identifier> for HeightProviderKind
impl<'a> TryFrom<&'a Identifier> for HeightProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for IncomingRpcMethods
impl<'a> TryFrom<&'a Identifier> for IncomingRpcMethods
Source§impl<'a> TryFrom<&'a Identifier> for InputControlKind
impl<'a> TryFrom<&'a Identifier> for InputControlKind
Source§impl<'a> TryFrom<&'a Identifier> for IntProviderKind
impl<'a> TryFrom<&'a Identifier> for IntProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for ItemKind
impl<'a> TryFrom<&'a Identifier> for ItemKind
Source§impl<'a> TryFrom<&'a Identifier> for LootConditionKind
impl<'a> TryFrom<&'a Identifier> for LootConditionKind
Source§impl<'a> TryFrom<&'a Identifier> for LootFunctionKind
impl<'a> TryFrom<&'a Identifier> for LootFunctionKind
Source§impl<'a> TryFrom<&'a Identifier> for LootNbtProviderKind
impl<'a> TryFrom<&'a Identifier> for LootNbtProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for LootNumberProviderKind
impl<'a> TryFrom<&'a Identifier> for LootNumberProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for LootPoolEntryKind
impl<'a> TryFrom<&'a Identifier> for LootPoolEntryKind
Source§impl<'a> TryFrom<&'a Identifier> for LootScoreProviderKind
impl<'a> TryFrom<&'a Identifier> for LootScoreProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for MapDecorationKind
impl<'a> TryFrom<&'a Identifier> for MapDecorationKind
Source§impl<'a> TryFrom<&'a Identifier> for MemoryModuleKind
impl<'a> TryFrom<&'a Identifier> for MemoryModuleKind
Source§impl<'a> TryFrom<&'a Identifier> for MenuKind
impl<'a> TryFrom<&'a Identifier> for MenuKind
Source§impl<'a> TryFrom<&'a Identifier> for MobEffect
impl<'a> TryFrom<&'a Identifier> for MobEffect
Source§impl<'a> TryFrom<&'a Identifier> for NumberFormatKind
impl<'a> TryFrom<&'a Identifier> for NumberFormatKind
Source§impl<'a> TryFrom<&'a Identifier> for OutgoingRpcMethods
impl<'a> TryFrom<&'a Identifier> for OutgoingRpcMethods
Source§impl<'a> TryFrom<&'a Identifier> for ParticleKind
impl<'a> TryFrom<&'a Identifier> for ParticleKind
Source§impl<'a> TryFrom<&'a Identifier> for PermissionCheckKind
impl<'a> TryFrom<&'a Identifier> for PermissionCheckKind
Source§impl<'a> TryFrom<&'a Identifier> for PermissionKind
impl<'a> TryFrom<&'a Identifier> for PermissionKind
Source§impl<'a> TryFrom<&'a Identifier> for PointOfInterestKind
impl<'a> TryFrom<&'a Identifier> for PointOfInterestKind
Source§impl<'a> TryFrom<&'a Identifier> for PosRuleTest
impl<'a> TryFrom<&'a Identifier> for PosRuleTest
Source§impl<'a> TryFrom<&'a Identifier> for PositionSourceKind
impl<'a> TryFrom<&'a Identifier> for PositionSourceKind
Source§impl<'a> TryFrom<&'a Identifier> for Potion
impl<'a> TryFrom<&'a Identifier> for Potion
Source§impl<'a> TryFrom<&'a Identifier> for RecipeBookCategory
impl<'a> TryFrom<&'a Identifier> for RecipeBookCategory
Source§impl<'a> TryFrom<&'a Identifier> for RecipeDisplay
impl<'a> TryFrom<&'a Identifier> for RecipeDisplay
Source§impl<'a> TryFrom<&'a Identifier> for RecipeKind
impl<'a> TryFrom<&'a Identifier> for RecipeKind
Source§impl<'a> TryFrom<&'a Identifier> for RecipeSerializer
impl<'a> TryFrom<&'a Identifier> for RecipeSerializer
Source§impl<'a> TryFrom<&'a Identifier> for RuleBlockEntityModifier
impl<'a> TryFrom<&'a Identifier> for RuleBlockEntityModifier
Source§impl<'a> TryFrom<&'a Identifier> for RuleTest
impl<'a> TryFrom<&'a Identifier> for RuleTest
Source§impl<'a> TryFrom<&'a Identifier> for SensorKind
impl<'a> TryFrom<&'a Identifier> for SensorKind
Source§impl<'a> TryFrom<&'a Identifier> for SlotDisplay
impl<'a> TryFrom<&'a Identifier> for SlotDisplay
Source§impl<'a> TryFrom<&'a Identifier> for SlotSourceKind
impl<'a> TryFrom<&'a Identifier> for SlotSourceKind
Source§impl<'a> TryFrom<&'a Identifier> for SoundEvent
impl<'a> TryFrom<&'a Identifier> for SoundEvent
Source§impl<'a> TryFrom<&'a Identifier> for SpawnConditionKind
impl<'a> TryFrom<&'a Identifier> for SpawnConditionKind
Source§impl<'a> TryFrom<&'a Identifier> for StatKind
impl<'a> TryFrom<&'a Identifier> for StatKind
Source§impl<'a> TryFrom<&'a Identifier> for TestEnvironmentDefinitionKind
impl<'a> TryFrom<&'a Identifier> for TestEnvironmentDefinitionKind
Source§impl<'a> TryFrom<&'a Identifier> for TestFunction
impl<'a> TryFrom<&'a Identifier> for TestFunction
Source§impl<'a> TryFrom<&'a Identifier> for TestInstanceKind
impl<'a> TryFrom<&'a Identifier> for TestInstanceKind
Source§impl<'a> TryFrom<&'a Identifier> for TicketKind
impl<'a> TryFrom<&'a Identifier> for TicketKind
Source§impl<'a> TryFrom<&'a Identifier> for TriggerKind
impl<'a> TryFrom<&'a Identifier> for TriggerKind
Source§impl<'a> TryFrom<&'a Identifier> for VillagerKind
impl<'a> TryFrom<&'a Identifier> for VillagerKind
Source§impl<'a> TryFrom<&'a Identifier> for VillagerProfession
impl<'a> TryFrom<&'a Identifier> for VillagerProfession
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenBiomeSource
impl<'a> TryFrom<&'a Identifier> for WorldgenBiomeSource
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenBlockStateProviderKind
impl<'a> TryFrom<&'a Identifier> for WorldgenBlockStateProviderKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenCarver
impl<'a> TryFrom<&'a Identifier> for WorldgenCarver
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenChunkGenerator
impl<'a> TryFrom<&'a Identifier> for WorldgenChunkGenerator
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenDensityFunctionKind
impl<'a> TryFrom<&'a Identifier> for WorldgenDensityFunctionKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenFeature
impl<'a> TryFrom<&'a Identifier> for WorldgenFeature
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenFeatureSizeKind
impl<'a> TryFrom<&'a Identifier> for WorldgenFeatureSizeKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenFoliagePlacerKind
impl<'a> TryFrom<&'a Identifier> for WorldgenFoliagePlacerKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenMaterialCondition
impl<'a> TryFrom<&'a Identifier> for WorldgenMaterialCondition
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenMaterialRule
impl<'a> TryFrom<&'a Identifier> for WorldgenMaterialRule
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenPlacementModifierKind
impl<'a> TryFrom<&'a Identifier> for WorldgenPlacementModifierKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenPoolAliasBinding
impl<'a> TryFrom<&'a Identifier> for WorldgenPoolAliasBinding
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenRootPlacerKind
impl<'a> TryFrom<&'a Identifier> for WorldgenRootPlacerKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenStructureKind
impl<'a> TryFrom<&'a Identifier> for WorldgenStructureKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePiece
impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePiece
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePlacement
impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePlacement
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePoolElement
impl<'a> TryFrom<&'a Identifier> for WorldgenStructurePoolElement
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenStructureProcessor
impl<'a> TryFrom<&'a Identifier> for WorldgenStructureProcessor
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenTreeDecoratorKind
impl<'a> TryFrom<&'a Identifier> for WorldgenTreeDecoratorKind
Source§impl<'a> TryFrom<&'a Identifier> for WorldgenTrunkPlacerKind
impl<'a> TryFrom<&'a Identifier> for WorldgenTrunkPlacerKind
impl Eq for Identifier
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.