pub struct MobType {
pub index: usize,
/* private fields */
}Expand description
Simple type to differenciate mobs!
Fields§
§index: usizeMap the mob types in your game to different indexes!
Implementations§
Trait Implementations§
impl StructuralPartialEq for MobType
Auto Trait Implementations§
impl Freeze for MobType
impl RefUnwindSafe for MobType
impl Send for MobType
impl Sync for MobType
impl Unpin for MobType
impl UnwindSafe for MobType
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