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 AzaleaRead for Identifier
impl AzaleaRead for Identifier
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for Identifier
impl AzaleaWrite for Identifier
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
impl<'de> Deserialize<'de> for Identifier
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
impl Serialize for Identifier
Source§impl ToNbtTag for Identifier
impl ToNbtTag for Identifier
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
impl Eq for Identifier
impl StructuralPartialEq 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.