pub enum JukeboxSongKey<Other = Identifier> {
Show 22 variants
_11,
_13,
_5,
Blocks,
Cat,
Chirp,
Creator,
CreatorMusicBox,
Far,
LavaChicken,
Mall,
Mellohi,
Otherside,
Pigstep,
Precipice,
Relic,
Stal,
Strad,
Tears,
Wait,
Ward,
Other(Other),
}Variants§
_11
_13
_5
Blocks
Cat
Chirp
Creator
CreatorMusicBox
Far
LavaChicken
Mall
Mellohi
Otherside
Pigstep
Precipice
Relic
Stal
Strad
Tears
Wait
Ward
Other(Other)
Implementations§
Trait Implementations§
Source§impl<Other: Clone> Clone for JukeboxSongKey<Other>
impl<Other: Clone> Clone for JukeboxSongKey<Other>
Source§fn clone(&self) -> JukeboxSongKey<Other>
fn clone(&self) -> JukeboxSongKey<Other>
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 DataRegistryKey for JukeboxSongKey
impl DataRegistryKey for JukeboxSongKey
type Borrow<'a> = JukeboxSongKey<&'a Identifier>
fn into_ident(self) -> Identifier
Source§impl<'a> DataRegistryKeyRef<'a> for JukeboxSongKey<&'a Identifier>
impl<'a> DataRegistryKeyRef<'a> for JukeboxSongKey<&'a Identifier>
type Owned = JukeboxSongKey
fn to_owned(self) -> Self::Owned
fn from_ident(ident: &'a Identifier) -> Self
fn into_ident(self) -> Identifier
Source§impl<Other: Debug> Debug for JukeboxSongKey<Other>
impl<Other: Debug> Debug for JukeboxSongKey<Other>
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 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<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 FromNbtTag for JukeboxSongKey
impl FromNbtTag for JukeboxSongKey
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl<Other: Hash> Hash for JukeboxSongKey<Other>
impl<Other: Hash> Hash for JukeboxSongKey<Other>
Source§impl<Other: PartialEq> PartialEq for JukeboxSongKey<Other>
impl<Other: PartialEq> PartialEq for JukeboxSongKey<Other>
impl<Other: Eq> Eq for JukeboxSongKey<Other>
impl<Other> StructuralPartialEq for JukeboxSongKey<Other>
Auto Trait Implementations§
impl<Other> Freeze for JukeboxSongKey<Other>where
Other: Freeze,
impl<Other> RefUnwindSafe for JukeboxSongKey<Other>where
Other: RefUnwindSafe,
impl<Other> Send for JukeboxSongKey<Other>where
Other: Send,
impl<Other> Sync for JukeboxSongKey<Other>where
Other: Sync,
impl<Other> Unpin for JukeboxSongKey<Other>where
Other: Unpin,
impl<Other> UnwindSafe for JukeboxSongKey<Other>where
Other: UnwindSafe,
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.