Struct azalea_core::registry_holder::RegistryType
source · pub struct RegistryType<T> {
pub map: HashMap<ResourceLocation, T>,
}
Expand description
A collection of values for a certain type of registry data.
Fields§
§map: HashMap<ResourceLocation, T>
Trait Implementations§
source§impl<T: Clone> Clone for RegistryType<T>
impl<T: Clone> Clone for RegistryType<T>
source§fn clone(&self) -> RegistryType<T>
fn clone(&self) -> RegistryType<T>
Returns a copy 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 moreAuto Trait Implementations§
impl<T> Freeze for RegistryType<T>
impl<T> RefUnwindSafe for RegistryType<T>where
T: RefUnwindSafe,
impl<T> Send for RegistryType<T>where
T: Send,
impl<T> Sync for RegistryType<T>where
T: Sync,
impl<T> Unpin for RegistryType<T>where
T: Unpin,
impl<T> UnwindSafe for RegistryType<T>where
T: 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