pub enum HolderSet<D: Registry, ResourceLocation: McBufReadable + McBufWritable> {
Direct {
contents: Vec<D>,
},
Named {
key: ResourceLocation,
contents: Vec<ResourceLocation>,
},
}
Variants§
Trait Implementations§
Source§impl<D: Clone + Registry, ResourceLocation: Clone + McBufReadable + McBufWritable> Clone for HolderSet<D, ResourceLocation>
impl<D: Clone + Registry, ResourceLocation: Clone + McBufReadable + McBufWritable> Clone for HolderSet<D, ResourceLocation>
Source§impl<D: Registry + Debug, ResourceLocation: McBufReadable + McBufWritable + Debug> Debug for HolderSet<D, ResourceLocation>
impl<D: Registry + Debug, ResourceLocation: McBufReadable + McBufWritable + Debug> Debug for HolderSet<D, ResourceLocation>
Source§impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufReadable for HolderSet<D, ResourceLocation>
impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufReadable for HolderSet<D, ResourceLocation>
Source§impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufWritable for HolderSet<D, ResourceLocation>
impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> McBufWritable for HolderSet<D, ResourceLocation>
Source§impl<D: PartialEq + Registry, ResourceLocation: PartialEq + McBufReadable + McBufWritable> PartialEq for HolderSet<D, ResourceLocation>
impl<D: PartialEq + Registry, ResourceLocation: PartialEq + McBufReadable + McBufWritable> PartialEq for HolderSet<D, ResourceLocation>
impl<D: Registry, ResourceLocation: McBufReadable + McBufWritable> StructuralPartialEq for HolderSet<D, ResourceLocation>
Auto Trait Implementations§
impl<D, ResourceLocation> Freeze for HolderSet<D, ResourceLocation>where
ResourceLocation: Freeze,
impl<D, ResourceLocation> RefUnwindSafe for HolderSet<D, ResourceLocation>where
ResourceLocation: RefUnwindSafe,
D: RefUnwindSafe,
impl<D, ResourceLocation> Send for HolderSet<D, ResourceLocation>
impl<D, ResourceLocation> Sync for HolderSet<D, ResourceLocation>
impl<D, ResourceLocation> Unpin for HolderSet<D, ResourceLocation>
impl<D, ResourceLocation> UnwindSafe for HolderSet<D, ResourceLocation>where
ResourceLocation: UnwindSafe,
D: 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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)