pub struct EntityDataSerializerEntry {
pub key: Identifier,
pub writer: EntityDataWriter,
}Expand description
Entry for a registered entity data serializer.
Fields§
§key: IdentifierThe serializer’s identifier (e.g., “minecraft:byte”).
writer: EntityDataWriterThe writer function for this serializer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntityDataSerializerEntry
impl RefUnwindSafe for EntityDataSerializerEntry
impl Send for EntityDataSerializerEntry
impl Sync for EntityDataSerializerEntry
impl Unpin for EntityDataSerializerEntry
impl UnsafeUnpin for EntityDataSerializerEntry
impl UnwindSafe for EntityDataSerializerEntry
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