Struct EntityTypeKey
pub struct EntityTypeKey(/* private fields */);Expand description
A mob entity type (minecraft:zombie) in the built-in entity-type registry, in
registration order. A key stays valid until the game exits.
Implementations§
§impl EntityTypeKey
impl EntityTypeKey
Trait Implementations§
§impl Clone for EntityTypeKey
impl Clone for EntityTypeKey
§fn clone(&self) -> EntityTypeKey
fn clone(&self) -> EntityTypeKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntityTypeKey
§impl Debug for EntityTypeKey
impl Debug for EntityTypeKey
impl Eq for EntityTypeKey
§impl Hash for EntityTypeKey
impl Hash for EntityTypeKey
§impl PartialEq for EntityTypeKey
impl PartialEq for EntityTypeKey
impl StructuralPartialEq for EntityTypeKey
Auto Trait Implementations§
impl Freeze for EntityTypeKey
impl RefUnwindSafe for EntityTypeKey
impl Send for EntityTypeKey
impl Sync for EntityTypeKey
impl Unpin for EntityTypeKey
impl UnsafeUnpin for EntityTypeKey
impl UnwindSafe for EntityTypeKey
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