Enum entmet_lib::entities::entity::MobInfo
source · #[repr(u8)]pub enum MobInfo {
NoAI = 1,
LeftHanded = 2,
Aggressive = 4,
}Expand description
An enum of mob options
Variants§
NoAI = 1
Active if the mob should have no AI
LeftHanded = 2
Active if the mob is lefthanded
Aggressive = 4
Active if the mob is aggressive
Trait Implementations§
source§impl PartialEq for MobInfo
impl PartialEq for MobInfo
impl Copy for MobInfo
impl Eq for MobInfo
impl StructuralPartialEq for MobInfo
Auto Trait Implementations§
impl Freeze for MobInfo
impl RefUnwindSafe for MobInfo
impl Send for MobInfo
impl Sync for MobInfo
impl Unpin for MobInfo
impl UnwindSafe for MobInfo
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